Undo and Redo Text Editing
You can add listeners for undo and redo status. See Listen to the Changes of Block Editing.
The following code shows you how to undo and redo text editing:
//Undo text editing.
readerView.onEditUndo();
//Redo text editing.
readerView.onEditRedo();