Listen to the Changes of Block Editing
You can use the following code to add the listener to listen to the changes of text editing status:
//Add the listener to listen the changes of text-editing status.
editManager.addEditStatusChangeListener(new OnEditStatusChangeListener() {
@Override
public void onBegin(int type) {
}
@Override
public void onUndo(int page, boolean canUndo) {
}
@Override
public void onRedo(int page, boolean canRedo) {
}
@Override
public void onExit() {
}
});