mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-09-21 12:22:03 +08:00
refactor(editor): 过滤弃用的TinyMCE插件并优化商品编辑流程
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { initEditor } from "@/components/editor/config";
|
||||
import { initEditor, resolveTinymcePlugins } from "@/components/editor/config";
|
||||
import uploadImage from "@/components/editor/upload-image.vue";
|
||||
export default {
|
||||
components:{uploadImage},
|
||||
@@ -100,7 +100,7 @@ export default {
|
||||
});
|
||||
},
|
||||
..._this.initEditor,
|
||||
|
||||
plugins: resolveTinymcePlugins(_this.initEditor.plugins),
|
||||
height:this.height
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user