angular: convert rtf to html and vice versa

▼魔方 西西 提交于 2020-08-08 05:15:32

问题


I have some strings formatted in rtf, I need to edit them in my webapp and save back in rtf.

the strings look like this:

{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Tahoma;}}
 \viewkind4\uc1\pard\qj\lang1040\ul\b\f0\fs16 string \ulnone\b0 string
 \par }

Is there any npm package to do it?

来源:https://stackoverflow.com/questions/56496508/angular-convert-rtf-to-html-and-vice-versa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!