-
Notifications
You must be signed in to change notification settings - Fork 171
Open
Description
Current behaviour
Undo via CMD+Z makes the cursor jump to the end of the text.
☝️Focus on the cursor
Expected behaviour
Like normal textarea
elements an undo action should move the cursor to the previous position.
☝️Focus on the cursor
Code sample
For the react-simple-code-editor textarea: http://satya164.xyz/react-simple-code-editor/
For a plain-old textarea: https://flekschas.github.io/textbox/
What have you tried
- type in text
- hit
CMD+Z
Your Environment
software | version |
---|---|
react-simple-code-editor | v0.9.10 and whatever runs on http://satya164.xyz/react-simple-code-editor/ |
react | no idea, check http://satya164.xyz/react-simple-code-editor/ |
npm or yarn | not used |
node | not used |
browser | Chrome v75 |
oliviertassinari and meoyawn
Metadata
Metadata
Assignees
Labels
No labels