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

getSelectedSpans

const getSelectedSpans: EditorSelector<object[]>

Defined in: selector.get-selected-spans.ts:11

Returns the spans touched by the selection, resolved at any depth.