@mocanvas/editor · function
declare function useIsEditing(shapeId?: ShapeId): booleanWhether a shape is being edited — its text caret is live, so its DOM body takes pointer events. With no argument: whether anything is being edited.
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.