ToolbarSettingsModel
23 Sep 20251 minute to read
Interface for a class ToolbarSettings
Properties
enable boolean
Specifies whether to render the toolbar in the RichTextEditor.
enableFloating boolean
Specifies whether to enable or disable the floating toolbar.
itemConfigs Object
Allows modification of the default toolbar item configuration, such as the icon class.
items []
An array of strings or objects used to configure the toolbar items.
position ToolbarPosition|string
Specifies the position of the toolbar.
The available positions are:
- Top: Toolbar appears above the content area (default)
- Bottom: Toolbar appears below the content area
type ToolbarType
Specifies the display types of the toolbar.
The available types are:
- Expand: Toolbar items fit within available space, and the rest are placed in the extended menu.
- MultiRow: Toolbar placed at the top of the RichTextEditor editing area.
- Scrollable: Toolbar items displayed in a single line with horizontal scrolling enabled.
- Popup: Toolbar items displayed in popup container.