canvas-editor-plugin
canvas-editor-plugin copied to clipboard
plugins for canvas-editor
插件引入时保错
Module parse failed: Unexpected token (6675:253) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code...
编辑器中的换行,导出到docx时全部失效,能是因为啥呢?框架vue saveWord() { let that = this if ( this.$refs.child.instance ) { this.$message.error('请先生成文章') } else { this.$refs.child.instance.use(docxPlugin) this.$refs.child.instance.command.executeExportDocx({ fileName: that.docData.title }) } }
编辑器中进行分页处理,导出后会异常,n页
_HOSPITALNAME_ 放射科急诊检查临时报告单(DR) 病例号:_PATCODE_ 检查时间: _CHECKDATE_ 姓名: 患者1 性别: 男 年龄: 33岁 门诊号: _OUTPATNO_ 申请医师: _REFERINGDOCTOR_ 科别: _REFERINGDEPART_ 床号: _SICKBEDNO_ 住院号: _INPATNO_ 检查方法: _EXAMMETHOD_ 检查部位: _CHECKPART_ 表现: ...
我想把canvas-editor编辑器编写的内容导出成docx文件。 1、引入插件并使用: import docxPlugin from '@hufe921/canvas-editor-plugin-docx'; //使用插件 导出文档方法 function executeWord() { instance.use(docxPlugin); if (instance && instance.command && instance.command.executeExportDocx) { instance.command.executeExportDocx({ fileName: fileName.value }); } } 2、导出文档问题,导出文件使用微软office打开: 关于普通文本: 1)字体类型、大小 编辑器内:微软雅黑字体,字号大小默认小四; 导出文件使用微软office打开:中文正文,字号21;...
Adjusted table styles such as centered td content, table width and tds width, background, borders, list type, document margins, page break and checkbox.
mammoth将word的图片转成了base64,但是在canvas里面不显示
导入.docx文件时,图片不显示的问题