Przeglądaj źródła

Docs: Fixed typos in TwoStepCaretHandler docs.

Aleksander Nowodzinski 7 lat temu
rodzic
commit
05a435e6fb

+ 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).
 			}