wwf
13 小时以前 a1d7e81859f554f3a53680cc35f0f49bf1f77098
1
2
3
4
5
6
7
8
9
10
11
12
import { SlateElement } from '@wangeditor-next/editor'
 
function processRecordToHtml(_elem: SlateElement, _childrenHtml: string): string {
  return `<span data-w-e-type="process-record" data-w-e-is-void data-w-e-is-inline>流程记录</span>`
}
 
const conf = {
  type: 'process-record',
  elemToHtml: processRecordToHtml
}
 
export default conf