Documentation
Source
source.before.open
Occurs whenever before opening the editor source code.
RedactorX('#entry', {
subscribe: {
'source.before.open': function() {
...
}
}
});
source.open
Occurs when the editor source code is opened.
RedactorX('#entry', {
subscribe: {
'source.open': function() {
...
}
}
});
source.before.close
Occurs whenever before closing the editor source code.
RedactorX('#entry', {
subscribe: {
'source.before.close': function() {
...
}
}
});
source.close
Occurs when the editor source code is closed.
RedactorX('#entry', {
subscribe: {
'source.close': function() {
...
}
}
});
source.change
e | Object | Input event |
Occurs whenever the source code textarea gets an input event.
RedactorX('#entry', {
subscribe: {
'source.change': function(event) {
...
}
}
});
dkjgvo65776inru43654