Module

engine/view/observer/selectionobserver

@ckeditor/ckeditor5-engine/src/view/observer/selectionobserver

module

Filtering

Classes

  • SelectionObserver

    Selection observer class observes selection changes in the document. If a selection changes on the document this observer checks 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 from the view selection.