Hi,
When two adjacent ProseMirror nodes have a block mark with the same attributes, the block mark DOM node wraps both nodes:
<div class="block-mark">
<div class="node-1"></div>
<div class="node-2"></div>
</div>
as opposed to wrapping each node as it does when mark attributes are different:
<div class="block-mark">
<div class="node-1"></div>
</div>
<div class="block-mark">
<div class="node-2"></div>
</div>
While this is a reasonable optimisation, I wonder if it makes sense to have the ability to opt out from that wrapping behaviour and have a separate block mark DOM node for each node?
The reason I’m asking is that we’re thinking about using it for absolute positioning UI elements relatively to the mark DOM node, and this optimisation is kinda getting in the way