Ask Question

React WYSIWYG Editor which outputs Markdown

I've searched several times but couldn't find a satisfying WYSIWYG Editor in React which outputs Markdown. Either it didn't work as expected or it just supports to edit the content directly in Markdown.

Are there any good WYSIWYG Editors for React which output the content as Markdown?



AuthorΒ΄s Dominik Sumer image

Dominik Sumer

Last edited on

1 Answer available

Best answer

My current solution is to use Draft.js as WYSIWYG Editor, because it fulfills all of the needs we have for our simple editor experience and use markdown-draft-js for converting Draft State to Markdown and vice-versa.

It works pretty fine and covers all of our use-cases, the only thing I have to do manually, is to escape markdown relevant characters because it is currently not done correctly by the library.

If you have other solutions, please don't hesitate to provide them! πŸ™‚