I have a NodeType Mention, which should not be markable (especially not by a link mark).
I only found an excludes option for MarkTypes. This is the exact behaviour I need but seems only to be available for MarkTypes.
There is also the marks option, which excludes marks from beeing used inside the node, which unfortunately does not solve the issue.
Do I have to add a special Mark for my Mention nodes? If yes, what would be the most elegant way regarding the dom rendering of the mark and node, do I have to wrap the node in an additional dom node?
Update: I’ve tested the use of an additional
span mark, but the problem with this solution is, that the mark is active once the cursor is beside the Mention node, even with a
contenteditable="false" on the span of the mark.