I'm having some problems with the convertFromHTML, it doesn't render the right data as I expected.
For example,
html: <p>Paragraph 1</p>, <p>Paragraph 2</p>, <p>Paragraph 3</p>
editorState:
EditorState.createWithContent(ContentState.createFromBlockArray(convertFromHTML(_html_)), Decorator)
The html at this stage render correctly as expected.
Paragraph 1
Paragraph 2
Paragraph 3
However, when I save data and refresh the page, it displays as below (all in one line)
Paragraph 1 Paragraph 2 Paragraph 3
Then, I clicked on the editor and suddenly the html turned into
<p>Paragraph 1 Paragraph 2 Paragraph 3</p>
Does anyone has similar problem like this? Thanks.