mirror of
https://github.com/outline/outline.git
synced 2026-11-21 21:44:30 +03:00
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>