Skip to content

Commit

Permalink
fix undo deletes note
Browse files Browse the repository at this point in the history
  • Loading branch information
korelstar committed Feb 27, 2022
1 parent 90b24df commit 709a2d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/EditorEasyMDE.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 709a2d6

Please sign in to comment.