Search results

InlineToolbarSettingsModel API in React Blockeditor API component

Interface for a class InlineToolbarSettings

Properties

close

EmitType<ToolbarCloseEventArgs>

Triggers when the inline toolbar is closed.

itemClicked

EmitType<ToolbarItemClickedEventArgs>

Triggers when the item is clicked in the toolbar.

open

EmitType<ToolbarOpenEventArgs>

Triggers when the inline toolbar is opened.

enable

boolean

Specifies whether to enable the inline toolbar.

enableTooltip

boolean

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

items

ToolbarItemModel[]

Specifies the individual items within a toolbar setup, specifying properties like commands, icons, and labels.

width

string | number

Specifies the width of the popup. Defaults value is 100%.