In prosemirror, if there is one newline, it is made into a paragraph.
If there is only one newline, then
If there are two line breaks, then
However, I think I need to add some processing such as clipboardTextparser to do this. I am considering implementing clipboardTextparser myself if necessary, but if possible, I would like the official library to change the logic for inserting line breaks and paragraphs. If you don’t plan to change it, could you please tell me why the logic is like this?
I’m sorry for my bad English, and I’m new to this kind of community, so I apologize if I’m bothering you.