5 Commits
Author SHA1 Message Date
Tom Moor 634d8d6493 fix: Keep preceding character when splitting code block on triple backticks (#14463)
* fix: Keep preceding character when splitting code block on triple backticks

* test: Cover dry-run result of triple backtick split
2026-11-05 19:33:56 -05:00
Tom Moor 77c7521d3b fix: Arrow keys move the cursor into code block line numbers (#14388)
* fix: Arrow keys move the cursor into code block line numbers

* fix: ArrowLeft at the start of a code line hides the caret
2026-10-29 18:49:24 -04:00
Tom Moor 316a873d49 fix: Backspace and Delete do not remove line breaks in code blocks (#14319) 2026-10-24 18:17:33 -04:00
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
Tom Moor 3f92e96006 fix: Outdent code with shift-tab behavior (#12514)
* fix: Outdent code with shift-tab behavior

* PR feedback
2026-05-28 21:08:46 -04:00