富文本菜单调整

This commit is contained in:
wangxuemei
2024-08-02 20:07:46 +08:00
parent 98575f9270
commit f1e052f18c
2 changed files with 12 additions and 3 deletions

View File

@@ -26,7 +26,16 @@
// 内容 HTML
const valueHtml = ref('');
const toolbarConfig = {};
const toolbarConfig = {
excludeKeys: [
'insertLink', // 排除菜单组,写菜单组 key 的值即可
"group-image",
"todo",
"insertVideo",
"insertTable"
]
};
const editorConfig = ref({ placeholder: '请输入内容...', MENU_CONF: {} });
// 自定义图片上传