Don't save the editor text when it is loaded
This commit is contained in:
parent
c49345c31b
commit
46831e5132
@ -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)
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user