Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkorelstar <korelstar@users.noreply.github.com>2022-02-27 21:46:18 +0300
committerkorelstar <korelstar@users.noreply.github.com>2022-02-27 21:54:17 +0300
commit709a2d6c91881ebdf2849784b95814e92bdae874 (patch)
treeccf35e0acc0efa4e44f47443252e1609dbb88a0d /src
parent90b24dffbea46846032ca2caddceaafe0eaf37eb (diff)
fix undo deletes note
Diffstat (limited to 'src')
-rw-r--r--src/components/EditorEasyMDE.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/EditorEasyMDE.vue b/src/components/EditorEasyMDE.vue
index b7d4a58c..b86ac187 100644
--- a/src/components/EditorEasyMDE.vue
+++ b/src/components/EditorEasyMDE.vue
@@ -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) {