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

getSelectionEndBlock

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

Defined in: selector.get-selection-end-block.ts:13

Returns the block containing the selection’s end point, resolved at any depth.