Occurs whenever before opening the editor source code.
Redactor('#entry', {
subscribe: {
'source.before.open': function() {
...
}
}
});
Occurs when the editor source code is opened.
Redactor('#entry', {
subscribe: {
'source.open': function() {
...
}
}
});
Occurs whenever before closing the editor source code.
Redactor('#entry', {
subscribe: {
'source.before.close': function() {
...
}
}
});
Occurs when the editor source code is closed.
Redactor('#entry', {
subscribe: {
'source.close': function() {
...
}
}
});
Arguments:
Object
Occurs whenever the source code textarea gets an input event.
Redactor('#entry', {
subscribe: {
'source.change': function(event) {
...
}
}
});