editorjs-undo icon indicating copy to clipboard operation
editorjs-undo copied to clipboard

Empty blocks will affect undo operations, and redo operations may not take effect.

Open chq1024 opened this issue 6 months ago • 1 comments

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?

chq1024 avatar Aug 13 '24 04:08 chq1024