editorjs-undo
editorjs-undo copied to clipboard
Empty blocks will affect undo operations, and redo operations may not take effect.
version: "editorjs-drag-drop": "^1.1.14", "editorjs-undo": "^2.0.28", "@editorjs/editorjs": "^2.30.2",
Since there are many empty blocks in the entire editor content, when I use undo, it automatically deletes my empty blocks, and redo cannot restore them. I guess it is because preserveBlank is not enabled when using the Paragraph plugin. In addition, random undo occurs, which seems to be caused by the snapshots not being executed in order?