How to set html content as value in simpleMDE text

2019-07-24 17:06发布

问题:

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.