humanmade / humanmade/h2

Inserting link with paste doesn't get added to undo stack

Open
#338 0 comments 0 reactions 0 assignees View on GitHub
Bug Low priority
Dominant language
JavaScript
Stars
8
Forks
1
Avg merge
1d 9h
Merged PRs (30d)
7

Description

## Issue Description

When pasting a link over a word to automagically create a linked word the action doesn't get added to the undo stack. I occasionally miss-select a word (say accidentally also selecting the trailing space or double-clicking the wrong word) and then paste the link. I then realise my mistake and do a quick +z only to have some other action undone instead.

## Steps to reproduce:

- Select word
- Paste link
- try to undo

## Expected Result:

Undo the creation of the link Markdown

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.