fn
selectionBlockId
testedBlock id the selection's focus is in (or the first node-selected block).
Signature
ts
export function selectionBlockId(state: EditorState): string | undefined{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
state | EditorState | — |
Returns
string | undefined