Precheck
Description
I use undo (and dragDrop which doesn't work by the way) and when I want to rollback some text with ctrl+Z sometimes it's working fine, sometimes it does erase whole blocks, append new empty block at the beginning, duplicates some other blocks...
I have no idea what's happening...
Environment
- Editor.js version: 2.28.2
- Plugins you use with their versions: editorjs-undo: 2.0.26
- Device, Browser, OS: Windows + Bravebrowser even Firefox
Current behavior
Here is the behavior :

I initialize editorJs like this :
editorRef.current = new EditorJS({
holder: 'editorjs-container',
autofocus: false,
onReady: () => {
const editor = editorRef.current;
const undo = new Undo({ editor });
undo.initialize(props.defaultValue);
},
tools: editorTools,
data: props.defaultValue,
readOnly: props.readOnly
});
Expected behavior
Undo to works fine :)
Precheck
Description
I use undo (and dragDrop which doesn't work by the way) and when I want to rollback some text with ctrl+Z sometimes it's working fine, sometimes it does erase whole blocks, append new empty block at the beginning, duplicates some other blocks...
I have no idea what's happening...
Environment
Current behavior
Here is the behavior :
I initialize editorJs like this :
Expected behavior
Undo to works fine :)