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

getAnchorBlock

const getAnchorBlock: EditorSelector<{ node: PortableTextBlock; path: BlockPath; } | undefined>

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

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