Richtexteditor Ui - ToolbarSettingsModel

30 Sep 20261 minute to read

Interface for a class ToolbarSettings

Properties

enable boolean

Specifies whether to render the Toolbar in the Editor.

enableFloating boolean

Whether the toolbar remains visible while its scroll owner is scrolled.

floatingOffset number

Non-negative vertical offset, in pixels, applied while floating.

items ToolbarItem[]

Defines the items displayed in the toolbar.

position ToolbarPosition

Defines whether the toolbar is rendered above or below the editor.

type ToolbarType

Defines the toolbar overflow and layout behavior.

Events

itemClicked EmitType<ToolbarItemClickedEventArgs>

Event raised when a toolbar item is clicked in the component.

updatedToolbarStatus EmitType<UpdatedToolbarStatusEventArgs>

Raised after the toolbar item status (active states, dropdown values, color picker selections)
has been synchronized with the current editor selection. This event fires after formatting states
are updated to reflect the user’s current cursor position or selection in the editor.