Open fantasticit opened 1 year ago
word 文件内容导入,word 内容粘贴
在服务段使用 mammoth 将 word 内容转成 html,然后将涉及到的图片上传到 cdn/oos,然后修正 html,然后客户端将 html 转成 prosemirror node 进行导入
mammoth
html
可参考 tinymce 实现,效果更好。
请描述功能点
word 文件内容导入,word 内容粘贴
也可提供功能的实现方案
在服务段使用
mammoth
将 word 内容转成html
,然后将涉及到的图片上传到 cdn/oos,然后修正 html,然后客户端将 html 转成 prosemirror node 进行导入