Documentation / Events

Toolbar

toolbar.sticky #

Occurs whenever the toolbar is sticky and has the position: fixed property after scrolling down the page or target element.

Redactor('#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.

Redactor('#entry', {
    subscribe: {
        'toolbar.static': function() {
            ...
        }
    }
});