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

getNextSpan

const getNextSpan: EditorSelector<{ node: PortableTextSpan; path: Path; } | undefined>

Defined in: selector.get-next-span.ts:13

Returns the span after the selection end within the same text block, resolved at any depth.