Oskar Wróbel 9 anni fa
parent
commit
c651b32615

+ 2 - 1
packages/ckeditor5-engine/src/view/observer/selectionobserver.js

@@ -137,7 +137,8 @@ export default class SelectionObserver extends Observer {
 
 
 	/**
 	/**
 	 * Selection change listener. {@link module:engine/view/observer/mutationobserver~MutationObserver#flush Flush} mutations, check if
 	 * Selection change listener. {@link module:engine/view/observer/mutationobserver~MutationObserver#flush Flush} mutations, check if
-	 * selection changes and fires {@link module:engine/view/document~Document#event:selectionChange} event.
+	 * selection changes and fires {@link module:engine/view/document~Document#event:selectionChange} event on every change
+	 * and {@link module:engine/view/document~Document#event:selectionChangeDone} when selection stop changing.
 	 *
 	 *
 	 * @private
 	 * @private
 	 * @param {Document} domDocument DOM document.
 	 * @param {Document} domDocument DOM document.