perf[Tinymce]: add SetContent listener
This commit is contained in:
parent
31b7fa6f55
commit
7cacd5a4ac
1 changed files with 1 additions and 1 deletions
|
@ -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' }))
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue