How to set html content as value in simpleMDE texteditor in Angular2

雨燕双飞 提交于 2019-12-11 07:59:52

问题


I am having value which contains HTML tags in it. I want to render it as initial value of SimpleMDE editor. I have tried

simplemde.value(content)

But it just render it as simple RAW data with all the HTML tags displaying in texteditor field area. If possible suggest some solution compatible with angular2.

来源:https://stackoverflow.com/questions/43084091/how-to-set-html-content-as-value-in-simplemde-texteditor-in-angular2

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