@mocanvas/editor · function
declare function dropShapesOnFrameLike(editor: Editor, target: UnknownShape | undefined, shapes: readonly UnknownShape[]): voidMove shapes into target (or back onto the page when target is
undefined), through the containers' own hooks.
Leaving is always offered to the old container *before* the new one adopts, so a container that refuses to release a child (a locked section) keeps it — the drop then simply does nothing for that shape.
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.