Search results

ContextMenuBeforeCloseEventArgs API in React Blockeditor API component

Provides information about the event before the context menu closes.

Properties

cancel

boolean

Specifies whether the opening of the context menu should be canceled. If set to true, the menu will not be displayed.

event

Event

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

items

ContextMenuItemModel[]

Specifies the list of context menu items available in the menu.

parentItem

ContextMenuItemModel

Specifies the parent context menu item.