django-markdown-editor icon indicating copy to clipboard operation
django-markdown-editor copied to clipboard

Rendering Frontend with React

Open ryosuke-kubota opened this issue 7 years ago • 1 comments
trafficstars

I would like to save the results of this editor in the database and render it as React as it is, what kind of method is there? I would like to know if there is something good compatible package etc.

ryosuke-kubota avatar Jan 23 '18 09:01 ryosuke-kubota

@ryosuke-kubota you can either send the raw markdown and use something like https://github.com/rexxars/react-markdown or you can send the html and use dangerouslySetInnerHTML if you trust the input

arnaudlimbourg avatar Mar 15 '18 21:03 arnaudlimbourg