@mocanvas/editor · function

hardReset

declare function hardReset(): Promise<void>

Throw away this origin's local editor state and reload.

The escape hatch for a person whose local session state has become unopenable — a half-migrated snapshot, a camera saved as NaN. It touches *local* storage only: nothing synced, nothing on a server, and no document that lives anywhere but this browser.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.