---
title: Snapshots
component: ./SnapshotExample.tsx
category: editor-api
priority: 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.
