A toolbar is a horizontal element which contains a series of buttons from which the user can initiate actions.
The toolbar contains buttons for two types of buttons:
Buttons not associated with any specific mode. These are editor-wide actions that may be set by the application in which the editor instance is used.
Buttons specific to a mode.
The top DOM element of the toolbar.
Add one or more buttons to the toolbar.
A single button or an array of buttons to add.
Parameters affecting how the addition is made.
Set the mode related buttons. This replaces any buttons previously set by this method.
The buttons to add to the toolbar.
Generated using TypeDoc
A toolbar is a horizontal element which contains a series of buttons from which the user can initiate actions.
The toolbar contains buttons for two types of buttons:
Buttons not associated with any specific mode. These are editor-wide actions that may be set by the application in which the editor instance is used.
Buttons specific to a mode.