BlockActionItem

12 Sep 20251 minute to read

Represents BlockActionItem in the block editor component.

Properties

disabled boolean

Specifies whether the action item is disabled.
When set to true, the action item will be unavailable for selection and execution.

Defaults to false

iconCss string

Specifies the CSS class for the action icon.
This allows styling customization of the menu items.

Defaults to ’’

id string

Specifies unique identifier of the action item.

Defaults to ’’

label string

Specifies the display label of the action item.

Defaults to ’’

shortcut string

Specifies the keyboard shortcut for the action item.
This allows users to trigger the action using a specific key combination.

Defaults to ’’

tooltip string

Specifies the tooltip for the action item.
This is an optional description shown on hover.

Defaults to ’’