Open sublimecoder opened 6 years ago
draftToHtml strips out code formatting tags, like <pre></pre> or <code></code> these are produced by react-draft-wysiwyg. Anyone have a work around?
<pre></pre> or <code></code>
Does anyone have any solutions to this?
I suspect this is the same issue here : https://github.com/jpuri/draftjs-to-html/issues/51#issuecomment-569646090
draftToHtml strips out code formatting tags, like
<pre></pre> or <code></code>
these are produced by react-draft-wysiwyg. Anyone have a work around?