toast.target#
Type: false | string
Default: false
CSS selector for a custom container. When false, a .rx-toaster element is created inside the editor container.
With a custom target, the built-in sticky-toolbar offset logic is skipped.
const app = Redactor('#entry', {
toast: {
target: '#app-notifications'
}
});
toast.top#
Type: number
Default: 12
Top offset in pixels for the built-in toaster (no custom toast.target).
When the toolbar is sticky (desktop mode), this value is increased automatically by the toolbox height plus toolbar.stickyTopOffset, so toasts stay below the fixed toolbar.
const app = Redactor('#entry', {
toast: {
top: 24
}
});