fn
listBlockItems
Every pickable block, one entry per definition — or one per meta.variants
entry when the definition declares them (Heading 1/2/3). Also what the
gutter's "turn into" menu lists, minus the atoms. Data-driven: any newly
registered block with meta shows up automatically.
Signature
ts
export function listBlockItems(registry: Registry): SlashItem[]{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
registry | Registry | — |
Returns
SlashItem[]