Arguments:
String
Object
Occurs whenever user presses ctrl/cmd+z
or the undo button or a plugin calls the state.undo
command using the API.
Redactor('#entry', {
subscribe: {
'state.undo': function(event) {
...
}
}
});
Arguments:
String
Object
Occurs whenever user presses ctrl/cmd+shift+z
or the redo button or a plugin calls the state.redo
command using the API.
Redactor('#entry', {
subscribe: {
'state.redo': function(event) {
...
}
}
});