kopia lustrzana https://github.com/Tldraw/Tldraw
![]() |
||
---|---|---|
.. | ||
README.md | ||
SnapshotExample.tsx | ||
snapshot.json |
README.md
title | component | category | priority |
---|---|---|---|
Snapshots | ./SnapshotExample.tsx | editor-api | 1 |
Load a snapshot of the editor's contents.
Use editor.store.getSnapshot()
and editor.store.loadSnapshot()
to save and restore the editor's contents.