diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index 0dd164b3..ef9be84f 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -150,6 +150,12 @@ export default { }) }, methods: { + setContent(value) { + window.tinymce.get(this.tinymceId).setContent(value) + }, + getContent() { + window.tinymce.get(this.tinymceId).getContent() + }, imageSuccessCBK(arr) { const _this = this arr.forEach(v => {