Search results

ContextMenuItemClickEventArgs API in React Blockeditor API component

Provides information about the event when a context menu item is being clicked.

Properties

cancel

boolean

Specifies whether the action triggered by clicking the menu item should be canceled. If set to true, the menu action will not be executed.

event

Event

Specifies the native browser event associated with the item click.

item

ContextMenuItemModel

Specifies the clicked context menu item.