Files
yudao-ui-admin-vue3/src/views/bpm/model/form/PrintTemplate/module/index.ts
2025-08-29 14:19:52 +08:00

17 lines
509 B
TypeScript

import {IModuleConf} from '@wangeditor/editor'
import withProcessRecord from './plugin'
import renderElemConf from './render-elem'
import elemToHtmlConf from './elem-to-html'
import parseHtmlConf from './parse-elem-html'
import processRecordMenu from "./menu/ProcessRecordMenu"
const module: Partial<IModuleConf> = {
editorPlugin: withProcessRecord,
renderElems: [renderElemConf],
elemsToHtml: [elemToHtmlConf],
parseElemsHtml: [parseHtmlConf],
menus: [processRecordMenu],
}
export default module