Vizel API / react/src / VizelBlockMenuProps
Interface: VizelBlockMenuProps
Defined in: packages/react/src/components/VizelBlockMenu.tsx:22
Properties
actions?
optional actions?: readonly VizelBlockMenuAction[];Defined in: packages/react/src/components/VizelBlockMenu.tsx:31
Custom block menu actions (replaces defaults)
className?
optional className?: string;Defined in: packages/react/src/components/VizelBlockMenu.tsx:35
Additional class name
editor?
optional editor?: Editor | null;Defined in: packages/react/src/components/VizelBlockMenu.tsx:29
Bind this menu to a specific editor. Falls back to the editor from VizelProvider context. When set (either way), the menu only reacts to drag-handle events from the bound editor, so multiple editors on the same page do not cross-trigger each other's menus.
locale?
optional locale?: VizelLocale;Defined in: packages/react/src/components/VizelBlockMenu.tsx:37
Locale for translated UI strings
nodeTypes?
optional nodeTypes?: readonly VizelNodeTypeOption[];Defined in: packages/react/src/components/VizelBlockMenu.tsx:33
Custom node types for "Turn into" submenu