draft-js-import-html
draft-js-import-html copied to clipboard
Can't import what is exported with draft-js-export-html (version 0.2.0)
Or maybe I'm missing something?
Exporting using stateToHTML with an options argument for some custom inlineStyles... works great: the exported HTML looks exactly as specified.
The problem: having exported it, there appears to be no way to import the same HTML using stateFromHTML, without losing the custom styling. I tried passing the same options argument, but it apparently is ignored.
Having the same issue with inline color styles.
yo, guys, any news?
No solution yet. I've switched over to react-tinymce npm package for now, but I'd probably switch back to draftjs if I could find a solution.
We decided to go ahead with tinymce as well.
will this be supported any time soon?
I'd encourage you guys to check out draft-convert, it should handle the cases you're looking for.
+1
@benbriggs Thank you!!