draftjs-to-html icon indicating copy to clipboard operation
draftjs-to-html copied to clipboard

draftToHtml strips out code formatting tags.

Open sublimecoder opened this issue 7 years ago • 2 comments
trafficstars

draftToHtml strips out code formatting tags, like <pre></pre> or <code></code> these are produced by react-draft-wysiwyg. Anyone have a work around?

sublimecoder avatar Jun 29 '18 02:06 sublimecoder

Does anyone have any solutions to this?

sublimecoder avatar Oct 05 '18 03:10 sublimecoder

I suspect this is the same issue here : https://github.com/jpuri/draftjs-to-html/issues/51#issuecomment-569646090

chilts avatar Dec 30 '19 11:12 chilts