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

getSelectionStartBlock

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

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

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