Skip to content

Commit 2e1ef8a

Browse files
committed
fix:修复引入plugin-mention插件后Editor组件报错
1 parent 9bc289c commit 2e1ef8a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/Editor/src/Editor.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ const editorConfig = computed((): IEditorConfig => {
9090
},
9191
autoFocus: false,
9292
scroll: true,
93+
EXTEND_CONF: {
94+
mentionConfig: {
95+
showModal: () => {},
96+
hideModal: () => {}
97+
}
98+
},
9399
MENU_CONF: {
94100
['uploadImage']: {
95101
server: getUploadUrl(),

0 commit comments

Comments
 (0)