mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
51a1d3bf50
Avoid full document traversal on every keystroke by mapping decorations through the transaction when no relevant nodes changed. Uses changedDescendants to detect when a heading, image, or code_inline-marked text actually changes; otherwise the existing DecorationSet is mapped to new positions cheaply. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>