engine/view/observer/selectionobserver
@ckeditor/ckeditor5-engine/src/view/observer/selectionobserver
module
Filtering
Classes
-
Selection observer class observes selection changes in the document. If a selection changes on the document this observer checks if there are any mutations and if the DOM selection is different from the view selection. The selection observer fires
event-selectionChange
event only if a selection change was the only change in the document and the DOM selection is different then the view selection.