Przeglądaj źródła

Added missing comment.

Maciej Bukowski 6 lat temu
rodzic
commit
c3f2d31004
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      packages/ckeditor5-engine/src/model/document.js

+ 1 - 0
packages/ckeditor5-engine/src/model/document.js

@@ -151,6 +151,7 @@ export default class Document {
 			}
 		}, { priority: 'low' } );
 
+		// Listen to selection changes. If selection changed, mark it.
 		this.listenTo( this.selection, 'change', () => {
 			this._hasSelectionChangedFromTheLastChangeBlock = true;
 		} );