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

getAnchorTextBlock

const getAnchorTextBlock: EditorSelector<{ node: PortableTextTextBlock; path: BlockPath; } | undefined>

Defined in: selector.get-anchor-text-block.ts:12

Returns the text block containing the anchor selection, resolved at any depth.