This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Description
Do you want to request a feature or report a bug?
I want to report a bug
What is the current behavior?
After a call to the convertFromHTML('\n') another call to the convertFromHTML, for instance convertFromHTML('<h1>H</h1>') return unstyled block type.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
https://jsfiddle.net/m6z0xn4r/1190/
What is the expected behavior?
Call to the convertFromHTML should be idempotent.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
0.10.5 (latest)