Most editors do some disturbing wrapping which destroys the wysywyg experience. I did check the last few days froala, redactor, quill and prosemirror.

ProseMirror seems to be promising as it’s made for customizing. I started to read the docu and inspected some code of prosemirror but I still can not answer my questions above. Maybe an experienced prosemirror developer knows instantly if this might be possible or no way around.

Hope I can continue the story and dive deeper into the word of ProseMirror.

You can definitely get fine grade control over the enter keystrokes including all keystrokes.

You can definitely get pop up menus made with JSX.

You can definitely tell this what inline content is allowed for each type of Node.

Not sure what you mean by additional wrapping. It wraps what you set it up to wrap or not wrap in whatever kind of tags you want.

You can create Nodes that use the same kind of tag 70 times if you want, for any type of tag.

I’ve been using prosemirror for 7-8 months now to create an editor with rigid rules and pagination, collab editting, etc. It is not for the feint of heart, but you can make it do whatever you want in my experience. But like I said, you basically have to be ready to drop serious time. There is a learning curve.

Theres something called input rules that does regexp on the input.
I wouldn’t really consider this an “edit mode” sort of editor. You could certainly determine some special wrapping mechanic for your dom nodes if you wanted. But, Theres not really anything to stop you from using prosemirror’s mechanics to regulate what you want the whole thing to do, I just wouldn’t tell you it’s easy because, it wouldn’t be. The more customized you want, the more work you’re going to have for yourself.

As for your dom types like paragraph of type A and paragraph of type B. You can say what they’re allowed to have, to hair splitting detail. It uses a sort of regex style of content. So you can have many types of paragraphs that have very different inner contents, or the same paragraph that has lots of rules or very few rules, or both.