perf[Tinymce]: getContent

This commit is contained in:
Pan 2018-03-08 16:51:09 +08:00
parent 7cacd5a4ac
commit 27effcc54c

View file

@ -89,7 +89,7 @@ export default {
_this.hasInit = true _this.hasInit = true
editor.on('NodeChange Change KeyUp SetContent', () => { editor.on('NodeChange Change KeyUp SetContent', () => {
this.hasChange = true this.hasChange = true
this.$emit('input', editor.getContent({ format: 'raw' })) this.$emit('input', editor.getContent())
}) })
} }
// //