Currently in the editorjs-undo refactoring, the caret position is being set at the end of the last modified block, the natural behavior should be that the caret position is restored in the place where the last change was made.
Objective
[ ] Make use of the new Caret class to restore the caret position after the undo/redo actions.
Context
Currently in the editorjs-undo refactoring, the caret position is being set at the end of the last modified block, the natural behavior should be that the caret position is restored in the place where the last change was made.
Objective
Caret
class to restore the caret position after the undo/redo actions.