Closed
Description
In my app I am persisting the state of the editor in HTML using the blocksToHTML function. If I parse from blocks to HTML and parse the HTML to blocks later, it looses the nested bullet points and all points become in the same level.
This input after parsed results in the following HTML (includes the nested items)
<ul>
<li>
<p class="_inlineContent_nstdf_297">Point A</p>
<ul>
<li>
<p class="_inlineContent_nstdf_297">Point A1</p>
</li>
</ul>
</li>
<li>
<p class="_inlineContent_nstdf_297">Point B</p>
</li>
</ul>
<p class="_inlineContent_nstdf_297"></p>
After parsing to blocks and using as initial content this is the result

This is the result of parsing blocks to HTML again
<ul>
<li>
<p class="_inlineContent_nstdf_297">Point A</p>
</li>
<li>
<p class="_inlineContent_nstdf_297">Point A1</p>
</li>
<li>
<p class="_inlineContent_nstdf_297">Point B</p>
</li>
</ul>
<p class="_inlineContent_nstdf_297"></p>