This page is available as Markdown at /api/selectors/variables/getpreviousspan.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.
getPreviousSpan
constgetPreviousSpan:EditorSelector<{node:PortableTextSpan;path:Path; } |undefined>
Defined in: selector.get-previous-span.ts:13
Returns the span before the selection start within the same text block, resolved at any depth.