A library for converting to plain HTML DraftJS Editor content. Build for use with editor library react-draft-wysiwyg
npm install html-to-draftjs --save
import htmlToDraft from 'html-to-draftjs';
const blocksFromHTML = htmlToDraft(this.props.content);
const contentState = ContentState.createFromBlockArray(blocksFromHTML);
const editorState = EditorState.createWithContent(contentState);