draft-js-import-markdown
draft-js-import-markdown copied to clipboard
Certain markdown features not working
From https://github.com/sstur/react-rte/issues/45 thanks to @tjunnone for reporting.
Code and quoted markdown is lost
All code and quoted blocks are lost when importing markdown. As an example, in the demo:
- Set the mode radio button to Markdown
- Type some text and mark it as a quote or code in the RTE top editor. MD in bottom textarea looks OK.
- Type anything in the MD textarea, which updates the RTE editor, and all quotes and code blocks are lost (quotes become unstyled text, code block content disappears altogether)
Any progress here? This is a dealbreaker for me right now. Would love to get it fixed and help.
Any progress?
Working on support for blockquotes. The issue lies in draft-js-import-element
, WIP PR is open here: https://github.com/sstur/draft-js-import-element/pull/34