Describe the bug
Currently, when undo/redo is used the cursor disappears completely. The cursor is not placed again and nothing is selected after using undo/redo.
To Reproduce
For contrast, also try both instruction sets in another editor.
For cursor placement:
-
- Type some text
-
- Use CTRL+Z to undo
-
- Use CTRL+Shift+Z to redo
For selection:
-
- Select a word or block and delete it
- or change the color of a block
- or drag one or more blocks somewhere else
-
- Use CTRL+Z to undo
Expected behavior
The cursor should be placed to where it was at that time in the history, if the change was made through typing with a cursor.
In the case the action was done through selecting something (e.g. changing color, deleting a word, dragging blocks, cutting text) the changed parts should be selected (this is how most editors behave, e.g. Notion, Word or even this editor).
Desktop:
- OS: Ubuntu
- Version: 0.18.68