Local draft persistence
Autosave a draft in the browser.
This example stores one draft in localStorage after a short
debounce. Reload the page to test the restore dialog. This is local
draft persistence, not a server save, collaboration system, or encrypted
storage.
Draft controls
The example uses a fixed key only for this demonstration.
Type something, wait for the footer to report a saved draft, then reload.
Waiting for the generated bundle…
Inspect autosave state