Procházet zdrojové kódy

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

Szymon Cofalik před 9 roky
rodič
revize
10960d8e13

+ 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' }
 	);
 }