perf[Tinymce]:update editor's content when bound value changes
This commit is contained in:
parent
33a93a12b4
commit
79c5b4bd35
|
@ -141,6 +141,9 @@ export default {
|
||||||
editor.on('NodeChange Change KeyUp SetContent', () => {
|
editor.on('NodeChange Change KeyUp SetContent', () => {
|
||||||
this.hasChange = true
|
this.hasChange = true
|
||||||
this.$emit('input', editor.getContent())
|
this.$emit('input', editor.getContent())
|
||||||
|
setTimeout(() => {
|
||||||
|
this.hasChange = false
|
||||||
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
setup(editor) {
|
setup(editor) {
|
||||||
|
|
Loading…
Reference in New Issue