Hi, I am trying to add an empty inline node to a paragraph node (which content is inline*). But once i added it via tr.insert(endPos. myEmptyInlineNode), at the end of my paragraph node, Prosemirror will add one img ProseMirror-separator and one ProseMirror-trailingBreak.
I found out this behaviour cause by these line of code
May i know what is the purpose of addHackNode and when it will be called?