Sfoglia il codice sorgente

Fixed: usage of old EmitterMixin#on API.

Szymon Cofalik 9 anni fa
parent
commit
575c69fc24
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 );