Context

context.open#

Occurs when the context is open.

Redactor('#entry', {
    subscribe: {
        'context.open': function() {
            ...
        }
    }
});

context.close#

Occurs when the context is closed.

Redactor('#entry', {
    subscribe: {
        'context.close': function() {
            ...
        }
    }
});