mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
Tiptap points the editor's element back at the editor when it builds the view and never clears it, so anything still holding that element keeps the editor, its state and the whole note alive. Detached elements are easy to hold by accident, and ProseMirror already clears its own back-reference when a view desc is destroyed.