Skip to main content

Change Toolbar

The action exposes an easy way to manipulate the editor's toolbar preset using a dynamic action interface in the page designer, for example:

  • change the number of visible buttons within the toolbar group
  • add button(s) to toolbar group
  • remove button(s) from toolbar group
  • remove toolbar group
Dynamic Action pre-requisites

The guidelines describing dynamic action configuration (dynamic action event, triggering element and affected elements) are described in parent document Configuration.

Change Number of Visible Buttons

Changes the number of buttons visible in the given toolbar group.

AttributeTypeDescription
ActionSelect listMust be set to Change Toolbar
Toolbar CustomizationSelect listMust be set to Change Number of Visible Buttons
GroupSelect listThe editor's toolbar group to be updated.
Buttons VisibleNumbera new number of buttons visible in the selected group.

Add Button

Adds the selected Froala button to the specified Froala toolbar group in the given position.

AttributeTypeDescription
ActionSelect listMust be set to Change Toolbar
Toolbar CustomizationSelect listMust be set to Add Button
GroupSelect listThe toolbar group to be updated
ButtonSelect listThe toolbar button to be added to the selected group
Button PositionNumberPosition of the new button in the selected group

Add Buttons

Adds multiple buttons to the specified Froala toolbar group in the given position.

AttributeTypeDescription
ActionSelect listMust be set to Change Toolbar
Toolbar CustomizationSelect listMust be set to Add Buttons
GroupSelect listFroala toolbar group to be updated
ButtonsTextComma-separated list of toolbar buttons to be added
Button PositionNumberPosition of new buttons in the selected group

Remove Button From Group

Removes the selected Froala button from the specified Froala toolbar group

AttributeTypeDescription
ActionSelect listMust be set to Change Toolbar
Toolbar CustomizationSelect listMust be set to Remove Button From Group
GroupSelect listFroala toolbar group to be updated
ButtonSelect listFroala button to be removed from the selected group

Remove All Buttons From Group

Removes all the buttons from the selected toolbar group.

AttributeTypeDescription
ActionSelect listMust be set to Change Toolbar
Toolbar CustomizationSelect listMust be set to Remove All Buttons From Group
GroupSelect listFroala toolbar group to be updated

Remove All Buttons

Removes all buttons from all toolbar groups.

AttributeTypeDescription
ActionSelect listMust be set to Change Toolbar
Toolbar CustomizationSelect listMust be set to Remove All Buttons

Remove Buttons From Group

Removes multiple buttons from the selected Froala toolbar group.

AttributeTypeDescription
ActionSelect listMust be set to Change Toolbar
Toolbar CustomizationSelect listMust be set to Remove Buttons From Group
GroupSelect listFroala toolbar group to be updated
ButtonsTextComma-separated list of buttons to be removed from selected toolbar group

Remove Group

Removes a selected group from toolbar.

AttributeTypeDescription
ActionSelect listMust be set to Change Toolbar
Toolbar CustomizationSelect listMust be set to Remove Group
GroupSelect listToolbar group to be removed