Search results

CommandMenuSettingsModel API in React Blockeditor API component

Interface for a class CommandMenuSettings

Properties

close

EmitType<CommandMenuCloseEventArgs>

Specifies the event triggered when the command menu closes.

itemClicked

EmitType<CommandItemClickedEventArgs>

Specifies the event triggered when a command item is clicked. This event can be used to perform actions based on user interaction.

open

EmitType<CommandMenuOpenEventArgs>

Specifies the event triggered when the command menu opens.

queryFiltering

EmitType<CommandQueryFilteringEventArgs>

Specifies the event triggered for filtering commands based on the query input.

commands

CommandItemModel[]

Specifies an array of command item models representing the available commands in the menu. This property holds the list of commands that appear in the menu.

enableTooltip

boolean

Specifies whether the tooltip is enabled for the command menu. If set to true, tooltips will be displayed based on the tooltip property of the command item.

popupHeight

string

Specifies the height of the command menu popup. Accepts valid CSS height values such as px, %, auto, etc.

popupWidth

string

Specifies the width of the command menu popup. Accepts valid CSS width values such as px, %, auto, etc.