Public function

Remove a frame.

Signature
function removeFrame(editor: Editor, ids: TLShapeId[]): void
Parameters
NameDescription

editor

Editor

tlraw editor instance.

ids

TLShapeId[]

Ids of the frames you wish to remove.

Returns
void
References

Editor, TLShapeId

Source

packages/tldraw/src/lib/utils/frames/frames.ts

parseTldrawJsonFileSelectTool