Closed bbr-yp closed 5 years ago
This is a bug in jsonEditor, when initializing the editor, they need to either call session.setValue
instead of editor.setValue
, or call session.getUndoManager().reset()
after the setValue
Thanks for your answer :)
Hi
I'm using Brace via jsonEditor, When you open an editor with content.
If you press CTRL + Z. All the content is emptied... In the same way, if you're editing a code... And cancel once too often... Everything gone..
Not a big deal because I can
redo
myundo
. But do you have a solution for fixing this?! Thanks.