Don't save the editor text when it is loaded

This commit is contained in:
kolaente 2021-01-30 21:16:15 +01:00
parent c49345c31b
commit 46831e5132
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 0 deletions

View File

@ -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)
},