Which parseDOM has a priority, node or mark

When calling DOMParserInstance.parse(), which parse rules take a priority, the ones for nodes or the ones for marks. If I have a parse rule for a mark that parses bold tags as “strong” mark, AND a parse rule for a node that parses bold tags as a “strong” node type, which one wins? I’m getting my parser with fromSchema() method.

By default, marks take priority, but you can use the priority field to reorder rules.

1 Like