Skip to content
This page is available as Markdown at /api/selectors/variables/getfocuschild.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.

getFocusChild

const getFocusChild: EditorSelector<{ node: PortableTextObject | PortableTextSpan; path: ChildPath; } | undefined>

Defined in: selector.get-focus-child.ts:12

Returns the child (span or inline object) containing the focus selection, resolved at any depth.