draft-js-utils icon indicating copy to clipboard operation
draft-js-utils copied to clipboard

Markdown to state conversion inaccurate

Open Raskatan opened this issue 7 years ago • 0 comments

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

Raskatan avatar Jan 26 '18 21:01 Raskatan