Przeglądaj źródła

Fixed: usage of old EmitterMixin#on API.

Szymon Cofalik 9 lat temu
rodzic
commit
575c69fc24
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/ckeditor5-typing/src/input.js

+ 1 - 1
packages/ckeditor5-typing/src/input.js

@@ -39,7 +39,7 @@ export default class Input extends Feature {
 
 		this.listenTo( editingView, 'keydown', ( evt, data ) => {
 			this._handleKeydown( data );
-		}, null, 9999 ); // LOWEST
+		}, 'lowest' );
 
 		this.listenTo( editingView, 'mutations', ( evt, mutations ) => {
 			this._handleMutations( mutations );