Skip to content

getPreviousSpan

const getPreviousSpan: 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.