Search results

CommandMenuOpenEventArgs API in JavaScript (ES5) Blockeditor API control

This event is triggered when the command menu is opened.

Properties

cancel

boolean

Specifies whether the event should be canceled. true to prevent opening the command menu.

commands

CommandItemModel[] | null

Specifies the list of command items to be displayed in the command menu.

event

Event

Specifies the native browser event associated with the opening of the command menu.