From 46831e513282b99ed7eaa1576e2a05376a889ad5 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 30 Jan 2021 21:16:15 +0100 Subject: [PATCH] Don't save the editor text when it is loaded --- src/components/input/editor.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/input/editor.vue b/src/components/input/editor.vue index d733213d..b97d4212 100644 --- a/src/components/input/editor.vue +++ b/src/components/input/editor.vue @@ -278,6 +278,11 @@ export default { // it a higher timeout to make the timouts cancel each other in that case so // that in the end, only one change event is triggered to the outside per change. handleInput(val) { + // Don't bubble if the text is up to date + if(val === this.text) { + return + } + this.text = val this.bubble(1000) },