Browse Source
copySelectedNodes, pasteNodes, and AI captureSnapshot were still using JSON.parse(JSON.stringify(...)) which duplicates multi-MB base64 blobs. Switched to clonePreservingStrings which shares immutable string refs. Also clarified docstring re: toJSON not being called. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>handoff-20260429-1057
2 changed files with 13 additions and 9 deletions
Loading…
Reference in new issue