Public function

Clear the database of all data associated with tldraw.

Signature
function hardReset({
  shouldReload,
}?: {
  shouldReload?: boolean | undefined
}): Promise<void>
Parameters
NameDescription

{ shouldReload }

{
  shouldReload?: boolean | undefined
}
Returns
Promise<void>
Source

packages/editor/src/lib/utils/sync/hardReset.ts

HandleSnapGeometryhardResetEditor