8
0
فهرست منبع

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