seller/src/views/lili-components/editor/index.vue
@@ -3,7 +3,7 @@ <!-- 使用 fullscreen 类来控制是否全屏显示 --> <div :class="{ fullscreen: fullscreen }" class="tinymce-container"> <!-- 使用 tinymce-textarea 类作为编辑器的文本区域 --> <uploadImage @callback="insertImage" /> <uploadImage @callback="insertImage" v-if="showUpload"/> <textarea :id="tinymceId" class="tinymce-textarea" /> </div> </div> @@ -23,6 +23,9 @@ height:{ type:String, default:'500px' },showUpload:{ type:Boolean, default:true } }, data() {