@mocanvas/editor · function
declare function selectParentShape(editor: Editor): voidSelect the parents of the selected shapes.
A shape already sitting on the page (or directly in the focused group) has no parent to move to and stays selected, so the selection never empties itself on a stray keystroke.
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.