perf[Tinymce]:update editor's content when bound value changes
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user