extrabar#
Type: boolean | object
Default: true
Enables the extrabar UI.
Pass an object to customize extrabar buttons at init:
| Key | Type | Description |
|---|---|---|
add |
object |
Extra toolbar buttons (name → button config). |
hide |
string[] |
Built-in button names to hide. |
const app = Redactor('#entry', {
extrabar: {
hide: ['hotkeys'],
add: {
findReplace: {
title: 'Find',
command: 'findReplace.open'
}
}
}
});
extrabar.add#
Type: object
Default: {}
Extra toolbar buttons.
const app = Redactor('#entry', {
extrabar: {
add: {
findReplace: {
title: 'Find',
command: 'findReplace.open'
}
}
}
});
extrabar.hide#
Type: string[]
Default: []
Button names removed from the extrabar.
const app = Redactor('#entry', {
extrabar: {
hide: ['hotkeys']
}
});