fn

selectionBlockId

tested

Block id the selection's focus is in (or the first node-selected block).

Signature

ts
export function selectionBlockId(state: WritekitState): string | undefined{ ... }

Parameters

ParameterTypeDescription
stateWritekitState

Returns

string | undefined