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

Fix comment description for onKeyDown handler

panr 6 лет назад
Родитель
Сommit
ac2968500f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-restricted-editing/src/restrictededitingmodeediting.js

+ 1 - 1
packages/ckeditor5-restricted-editing/src/restrictededitingmodeediting.js

@@ -318,7 +318,7 @@ export function onKeyDown( editor, eventInfo, evtData ) {
 	const ctrlA = evtData.ctrlKey && evtData.keyCode === 65;
 	const ctrlA = evtData.ctrlKey && evtData.keyCode === 65;
 
 
 	// Ctrl+A handler.
 	// Ctrl+A handler.
-	// If collapsed selection is inside a restricted editing exception, select text only within the exception.
+	// If selection range is inside a restricted editing exception, select text only within the exception.
 	//
 	//
 	// Note: Second Ctrl+A will select the entire text in the editor.
 	// Note: Second Ctrl+A will select the entire text in the editor.
 	if ( ctrlA ) {
 	if ( ctrlA ) {