From 27effcc54c9e9de175b3f79cb05652595267b060 Mon Sep 17 00:00:00 2001 From: Pan Date: Thu, 8 Mar 2018 16:51:09 +0800 Subject: [PATCH] perf[Tinymce]: getContent --- src/components/Tinymce/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index a486cede..b1a56fe2 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -89,7 +89,7 @@ export default { _this.hasInit = true editor.on('NodeChange Change KeyUp SetContent', () => { this.hasChange = true - this.$emit('input', editor.getContent({ format: 'raw' })) + this.$emit('input', editor.getContent()) }) } // 整合七牛上传