fn
nextBlock
testedThe block after `id` in document order, or `null`.
Signature
ts
export function nextBlock(doc: EditorDocument, id: string): Node | null{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
doc | EditorDocument | — |
id | string | — |
Returns
Node | null