Skip to content

Commit 43120eb

Browse files
authored
Merge branch 'master' into andrewnoyes-readme
2 parents 4b72ea5 + 4ade31b commit 43120eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ npm install html-to-draftjs --save
1111

1212
## Using
1313
```
14+
import { EditorState, ContentState } from 'draft-js';
1415
import htmlToDraft from 'html-to-draftjs';
1516
1617
const blocksFromHTML = htmlToDraft(this.props.content);

0 commit comments

Comments
 (0)