8
0
Просмотр исходного кода

Docs: Fixed typos in TwoStepCaretHandler docs.

Aleksander Nowodzinski 7 лет назад
Родитель
Сommit
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._skipNextAutomaticGravityRestoration();
 				this._overrideGravity();
 				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
 				// Returning here will destabilize the filler logic, which also listens to
 				// keydown (and it will be stopped).
 				// keydown (and it will be stopped).
 			}
 			}