EditorJS does not want to insert formatted text with block elements into a component with <div contenteditable="true">. When you insert text with paragraphs, EditorJS inserts the text as separate components at the bottom, not in the <div>.
When I insert text with paragraphs into a <div contenteditable="true">, I get components with text at the bottom as a result.