Addbar

addbar #

Type: Boolean

Default: true

This setting turn off the addbar and its button on the toolbar, for this, set the setting to false.

Redactor('#entry', {
    addbar: false
});

addbar.add #

Type: Array

This setting allows you to add additional buttons to the addbar.

Redactor('#entry', {
    addbar: {
        add: {
            "note": {
                title: 'Note',
                position: { after: 'text' },
                icon: '<svg...>',
                template: '<p class="note">Type something...</p>'
            }
        }
    }
});

addbar.hide #

Type: Array

This setting allows you to hide buttons from the addbar.

Redactor('#entry', {
    addbar: {
        hide: ['pre', 'embed']
    }
});