| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 
 | 
 
 
 
 import { IModuleConf } from '@wangeditor/editor'
 import { AutoSelectMenu, MentionMenu, withMention } from './plugin'
 import renderElemConf from './render-elem'
 import elemToHtmlConf from './elem-to-html'
 import parseHtmlConf from './parse-elem-html'
 
 const module: Partial<IModuleConf> = {
 editorPlugin: withMention,
 renderElems: [renderElemConf],
 elemsToHtml: [elemToHtmlConf],
 parseElemsHtml: [parseHtmlConf],
 menus: [
 {
 key: 'mention-set',
 factory() {
 return new MentionMenu()
 },
 }
 ],
 }
 
 export default module
 
 |