System.register(["./pinia-legacy.js","./vue-legacy.js"],(function(s){"use strict";var n;return{setters:[function(){},function(s){n=s.M}],execute:function(){s("default",n({components:{},template:'
tpImportword 插件用于 tinymce
富文本编辑器 实现导入word功能, 并且最大可能保存布局样式与颜色等
欢迎提供好的建议 或者反馈bug
\n目前及支持 docx 文件
\n提示
\n导入word 插件导入的图片默认是base64 ,需要配置 automatic_uploads
属性,同时需要保证配置了 images_upload_handler
, 可将导入的图片自动上传服务器转成url链接
{}"> import "@tinymce-plugin/tp-importword";\n tinymce.init({\n ...\n images_upload_handler: (blobInfo, succFun, failFun)=>{ ... }\n automatic_uploads: true\n plugins: "tpImportword"\n toolbar: "tpImportword"\n ...\n })\n