fix:修复引入plugin-mention插件后Editor组件报错

This commit is contained in:
朱桂志
2025-10-10 17:00:55 +08:00
parent 9bc289cb2a
commit 2e1ef8aee4

View File

@ -90,6 +90,12 @@ const editorConfig = computed((): IEditorConfig => {
},
autoFocus: false,
scroll: true,
EXTEND_CONF: {
mentionConfig: {
showModal: () => {},
hideModal: () => {}
}
},
MENU_CONF: {
['uploadImage']: {
server: getUploadUrl(),