Vizel API / core/src / getVizelTurnIntoOptions
Function: getVizelTurnIntoOptions()
ts
function getVizelTurnIntoOptions(editor, nodeTypes?): VizelNodeTypeOption[];Defined in: packages/core/src/extensions/block-menu.ts:115
Get the "Turn into" node type options, filtering out the currently active type.
Parameters
| Parameter | Type | Default value |
|---|---|---|
editor | Editor | undefined |
nodeTypes | readonly VizelNodeTypeOption[] | vizelDefaultNodeTypes |