A class encapsulating all native event listeners which have to be used in order to handle undo manager integration for native editing actions (excluding drag and drop and paste support handled by the Clipboard plugin).
Undo manager owning the handler.
A stack of pressed keys.
An image of the editor during the
keydownevent (therefore without DOM modification).
An undo manager instance owning the editing handler.
ignoreInputEvent : Boolean
since 4.4.5 private
Attaches editable listeners required to provide the undo functionality.
Makes the next
inputevent to be ignored.
onKeydown( evt )
onKeyup( evt )
Method called for navigation change. At first it will check if current content does not differ from the last saved snapshot.
- If the content is different, the method creates a standard, extra snapshot.
- If the content is not different, the method will compare the selection, and will amend the last snapshot selection if it changed.
skipContentCompare : Boolean
If set to
true, it will not compare content, and only do a selection check.