Skip to content

Vizel API / core/src / getVizelTurnIntoOptions

Function: getVizelTurnIntoOptions() ​

ts
function getVizelTurnIntoOptions(editor, nodeTypes?): VizelNodeTypeOption[];

Defined in: packages/core/src/extensions/block-menu.ts:116

Get the "Turn into" node type options, filtering out the currently active type.

Parameters ​

ParameterTypeDefault value
editorEditorundefined
nodeTypesreadonly VizelNodeTypeOption[]vizelDefaultNodeTypes

Returns ​

VizelNodeTypeOption[]

Released under the MIT License.