8
0
Piotr Jasiun 9 лет назад
Родитель
Сommit
ecadd2e98b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/ckeditor5-engine/src/view/observer/selectionobserver.js

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

@@ -93,11 +93,11 @@ export default class SelectionObserver extends Observer {
 	 * @param {Document} domDocument DOM document.
 	 * @param {Document} domDocument DOM document.
 	 */
 	 */
 	_handleSelectionChange( domDocument ) {
 	_handleSelectionChange( domDocument ) {
-		if ( !this.document.focusedEditable ) {
+		if ( !this.isEnabled ) {
 			return;
 			return;
 		}
 		}
 
 
-		if ( !this.isEnabled ) {
+		if ( !this.document.focusedEditable ) {
 			return;
 			return;
 		}
 		}