Преглед на файлове

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