I’ve looked through the documentation and forum, but I haven’t been able to find the answer to this. Apologies if it is stated somewhere and I’ve just missed it.
Are node and mark names mutually exclusive? As in, if you have a node called “example”, can you also have a mark called “example” as well, or is that not permitted?
The reason I’m asking is I’m working on a tool that processes data stored as ProseMirror documents, and I need to know if it’s safe to assume that any given name can only be either a node or a mark, or if I need to ensure that my code can handle a situation where you had both a mark and a node with the same name.