Files
outline/shared/editor
Tom MoorandClaude 5ff3020318 fix: Crash when two mermaid diagrams are adjacent (#13173)
* 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>
2026-07-28 08:58:01 -04:00
..
2026-07-23 08:14:35 -04:00
2026-06-20 11:26:32 -04:00
2026-01-27 18:36:37 -05:00