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

getAnchorSpan

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

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

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