8
0
Tomek Wytrębowicz 5 лет назад
Родитель
Сommit
cc0cac9f39
1 измененных файлов с 0 добавлено и 5 удалено
  1. 0 5
      packages/ckeditor5-typing/src/twostepcaretmovement.js

+ 0 - 5
packages/ckeditor5-typing/src/twostepcaretmovement.js

@@ -130,11 +130,6 @@ export class TwoStepCaretMovement extends Plugin {
 		//
 		// Find out more in https://github.com/ckeditor/ckeditor5-engine/issues/1301.
 		this.listenTo( view.document, 'keydown', ( evt, data ) => {
-			// Do nothing if the plugin is disabled.
-			// if ( !this.isEnabled ) {
-			// 	return;
-			// }
-
 			// This implementation works only for collapsed selection.
 			if ( !modelSelection.isCollapsed ) {
 				return;