Rosey / markdown-draft-js

A tool to convert content created in DraftJS to markdown and vice versa.
https://rosey.github.io/markdown-draft-js/
MIT License
318 stars 70 forks source link

markdownToDraft crashes on empty list items #20

Closed joepio closed 7 years ago

joepio commented 7 years ago

Similar to #17

Draft.EditorState.createWithContent(Draft.convertFromRaw(markdownToDraft('-')))
Draft.EditorState.createWithContent(Draft.convertFromRaw(markdownToDraft('1.')))
Rosey commented 7 years ago

Darn, thanks :(

Rosey commented 7 years ago

Fix should be out now as 0.3.3