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

getFocusSpan

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

Defined in: selector.get-focus-span.ts:11

Returns the span containing the focus selection, resolved at any depth.