提交 7cacd5a4 编写于 作者: P Pan

perf[Tinymce]: add SetContent listener

上级 31b7fa6f
......@@ -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' }))
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册