R
fn

focusBlock

tested

The block the selection currently focuses, or `null`.

Signature

ts
export function focusBlock(state: EditorState): Node | null{ ... }

Parameters

ParameterTypeDescription
stateEditorState

Returns

Node | null