fix undo deletes note

This commit is contained in:
korelstar 2022-02-27 19:46:18 +01:00
parent 90b24dffbe
commit 709a2d6c91
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ export default {
if (this.readonly) {
this.mde.codemirror.options.readOnly = true
}
// clear initial empty state in history
this.mde.codemirror.clearHistory()
},
onClickCodeElement(event) {