mirror of
https://github.com/outline/outline.git
synced 2026-11-21 21:44:30 +03:00
Nodes are cached against the content or state they were parsed from, so repeated helper calls on the same document parse it once. JSON transform helpers now replace attrs instead of mutating them, as Node.toJSON shares attrs with the cached node.