Преглед изворни кода

Docs: Fixed typos in TwoStepCaretHandler docs.

Aleksander Nowodzinski пре 7 година
родитељ
комит
05a435e6fb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-engine/src/utils/bindtwostepcarettoattribute.js

+ 1 - 1
packages/ckeditor5-engine/src/utils/bindtwostepcarettoattribute.js

@@ -420,7 +420,7 @@ class TwoStepCaretHandler {
 				this._skipNextAutomaticGravityRestoration();
 				this._overrideGravity();
 
-				// Don't return "true" here because we didn't call preventPrevent.
+				// Don't return "true" here because we didn't call preventDefault.
 				// Returning here will destabilize the filler logic, which also listens to
 				// keydown (and it will be stopped).
 			}