draft-js-utils
draft-js-utils copied to clipboard
Markdown to state conversion inaccurate
Lines where multiple inline styles are used aren't converting to/from state properly. For example, if I have a line in the editor:
bolditalicitalic
it converts from state to markdown as:
**bold**_**italic**__italic_
When brought back into the editor it displays as
bold_italic_italic
The conversion from state to markdown should save this as **bold**_**italic**italic_
instead.
It does something similar with italicboldbold