fix undo deletes note
This commit is contained in:
parent
90b24dffbe
commit
709a2d6c91
|
@ -93,6 +93,9 @@ export default {
|
||||||
if (this.readonly) {
|
if (this.readonly) {
|
||||||
this.mde.codemirror.options.readOnly = true
|
this.mde.codemirror.options.readOnly = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// clear initial empty state in history
|
||||||
|
this.mde.codemirror.clearHistory()
|
||||||
},
|
},
|
||||||
|
|
||||||
onClickCodeElement(event) {
|
onClickCodeElement(event) {
|
||||||
|
|
Loading…
Reference in New Issue