We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b72ea5 + 4ade31b commit 43120ebCopy full SHA for 43120eb
README.md
@@ -11,6 +11,7 @@ npm install html-to-draftjs --save
11
12
## Using
13
```
14
+import { EditorState, ContentState } from 'draft-js';
15
import htmlToDraft from 'html-to-draftjs';
16
17
const blocksFromHTML = htmlToDraft(this.props.content);
0 commit comments