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
});
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>'
}
}
}
});
Type: Array
This setting allows you to hide buttons from the addbar.
Redactor('#entry', {
addbar: {
hide: ['pre', 'embed']
}
});