Documentation
Toolbar
toolbar.sticky #
Occurs whenever the toolbar is sticky and has the position: fixed property after scrolling down the page or target element.
RedactorX('#entry', {
subscribe: {
'toolbar.sticky': function() {
...
}
}
});
toolbar.static #
Occurs whenever the toolbar is static and has the position: static property after scrolling to the top of the editor.
RedactorX('#entry', {
subscribe: {
'toolbar.static': function() {
...
}
}
});