Vizel API / core/src / getVizelMultiBlockSelectionState
Function: getVizelMultiBlockSelectionState()
ts
function getVizelMultiBlockSelectionState(state):
| VizelMultiBlockSelectionState
| null;Defined in: packages/core/src/extensions/multi-block-selection.ts:61
Read the current multi-block range from an editor state. Returns null when the selection spans zero or one top-level block.
Parameters
| Parameter | Type |
|---|---|
state | EditorState |
Returns
| VizelMultiBlockSelectionState | null