removeFrame

See source code

Remove a frame.

function removeFrame(editor: Editor, ids: TLShapeId[]): void;

Parameters

NameDescription

editor

Editor;

tldraw editor instance.

ids

TLShapeId[];

Ids of the frames you wish to remove.

Returns

void;
Prev
registerDefaultSideEffects
Next
renderHtmlFromRichText