* fix: Crash when two mermaid diagrams are adjacent
A diagram's widget decoration sits at the end of its code block, which is
also the start position of the following block. When the next block is also
a mermaid diagram and has no decoration of its own yet, it adopted the
preceding diagram's renderer — and so its single DOM element — leaving two
widget decorations sharing one node and crashing prosemirror-view.
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: Enter with mermaid selection deletes node
---------
Co-authored-by: Claude <noreply@anthropic.com>