Hello, Prosemirror community.
I’m working on Copy / Paste feature, and here’s the problem now I ran into. If I try to paste html like this,
<p> text <br> text </p>
It’s rendered like this in Prosemirror,
<p> textext </p>
and this is what I want it to be
<p> text </p> <p> text </p>
In other words, I want to split paragraph from where break(br) tag be when copy paste html.
I used preserveWhitespace option, hard_break schema, but non of them work. Any Idea to solve this problem? Thanks.