perf[Tinymce]: add SetContent listener
This commit is contained in:
@@ -87,7 +87,7 @@ export default {
|
||||
editor.setContent(_this.value)
|
||||
}
|
||||
_this.hasInit = true
|
||||
editor.on('NodeChange Change KeyUp', () => {
|
||||
editor.on('NodeChange Change KeyUp SetContent', () => {
|
||||
this.hasChange = true
|
||||
this.$emit('input', editor.getContent({ format: 'raw' }))
|
||||
})
|
||||
|
Reference in New Issue
Block a user