Extensibly serialize & deserialize Draft.js ContentState with HTML.
peerDependency
( https://github.com/HubSpot/draft-convert/pull/213 )code-block
default output HTML (#195)Add peerDependency
for React 17 (#180)
entityToHTML
would result in originalText
being inserted into the converted HTMLdraft-js
Editor CSShtmlToStyle
functions were causing nested inline styles to be handled incorrectly, omitting all but the innermost style (https://github.com/HubSpot/draft-convert/pull/147)karma
test suite (#145)