소스 검색

Changed: LiveRange#event:change and LivePosition#event:change should have high priority.

Szymon Cofalik 9 년 전
부모
커밋
10960d8e13
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      packages/ckeditor5-engine/src/model/liveposition.js
  2. 2 1
      packages/ckeditor5-engine/src/model/liverange.js

+ 2 - 1
packages/ckeditor5-engine/src/model/liveposition.js

@@ -140,7 +140,8 @@ function bindWithDocument() {
 			if ( supportedTypes.has( type ) ) {
 				transform.call( this, type, changes.range, changes.sourcePosition );
 			}
-		}
+		},
+		{ priority: 'high' }
 	);
 }
 

+ 2 - 1
packages/ckeditor5-engine/src/model/liverange.js

@@ -99,7 +99,8 @@ function bindWithDocument() {
 			if ( supportedTypes.has( type ) ) {
 				transform.call( this, type, changes.range, changes.sourcePosition );
 			}
-		}
+		},
+		{ priority: 'high' }
 	);
 }