| | |
| | | import { ElMessage } from 'element-plus' |
| | | import { normalizeReportDocxForEditor } from '@/utils/reportDocxLayout' |
| | | import { loadSuperDoc } from '@/utils/loadSuperDoc' |
| | | import documentWorkerUrl from 'virtual:superdoc-http-worker-url' |
| | | import { superdocToolbarZh } from '@/utils/superdocToolbarZh' |
| | | import 'superdoc/style.css' |
| | | |
| | |
| | | }), |
| | | documentMode: 'editing', |
| | | role: 'editor', |
| | | workerUrls: { document: documentWorkerUrl }, |
| | | telemetry: { enabled: false }, |
| | | ui: { toolbar: { container: toolbar.value, strings: superdocToolbarZh }, ruler: true, comments: false }, |
| | | onReady: async ({ superdoc }) => { |