Skip to content
Snippets Groups Projects
Commit 7cacd5a4 authored by Pan's avatar Pan
Browse files

perf[Tinymce]: add SetContent listener

parent 31b7fa6f
No related branches found
No related tags found
No related merge requests found
......@@ -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' }))
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment