Procházet zdrojové kódy

Remove commented code.

Tomek Wytrębowicz před 5 roky
rodič
revize
cc0cac9f39

+ 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.
 		// Find out more in https://github.com/ckeditor/ckeditor5-engine/issues/1301.
 		this.listenTo( view.document, 'keydown', ( evt, data ) => {
 		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.
 			// This implementation works only for collapsed selection.
 			if ( !modelSelection.isCollapsed ) {
 			if ( !modelSelection.isCollapsed ) {
 				return;
 				return;