Search results

BlockActionMenuSettingsModel API in React Blockeditor API component

Interface for a class BlockActionMenuSettings

Properties

close

EmitType<BlockActionMenuCloseEventArgs>

Specifies the event triggered when the block actions menu closes.

itemClick

EmitType<BlockActionItemClickEventArgs>

Specifies the event triggered when an item is being selected from the menu.

open

EmitType<BlockActionMenuOpenEventArgs>

Specifies the event triggered when the block actions menu opens.

enable

boolean

Specifies whether the block actions menu is enabled. If set to false, the menu will not be displayed.

enableTooltip

boolean

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

items

BlockActionItemModel[]

Specifies the action items in the block actions menu. This defines the set of commands that appear when the menu is opened.

popupHeight

string

Specifies the popup height for the action menu.

popupWidth

string

Specifies the popup width for the action menu.