IButton Interface

A structure defining configuration of the Left Toolbar using the buttons array.

example

clientConfig.json

"LeftToolbar": {
    "buttons": [
        {
            "translationKey": "LeftToolbar.TEXT",
            "translationKeyTitle": "LeftToolbar.TITLE_ADD_TEXT",
            "iconClass": "cc-icon-add-text",
            "buttons": ["Text", "RichText"]
        },
        "Image"
    ]
}

Properties

buttons

buttons: ButtonType []

The array containing button definitions.

iconClass

iconClass: string

The class of the button icon.

translationKey

translationKey: string

The translation key of the button caption.

translationKeyTitle

translationKeyTitle: string

The translation key of the button tooltip.