Repository navigation
Undo clears the all the content #8163
Replies: 2 comments
|
I traced this in the 2.x markdown editor: On init it loads the saved page and leaves that in the undo stack: this.cm.setValue(this.$store.get('editor/content'))
Redo fails on Chrome for Mac because The same this.cm.setValue(this.$store.get('editor/content'))
this.cm.clearHistory()
|
|
This is no longer an issue in v3. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This happens on macOS / Chromimum.
When a user presses Undo (CMD+Z) for the first time (or undo several times until a the last edit in the current session) on a page that already has content; Wiki JS clears all the content.
When this happens redo (CMD+Shift+Z) doesn't restore the content, only option is to close and cancel the edits of that session.
All reactions