Procházet zdrojové kódy

Update commend wording.

Maciej před 5 roky
rodič
revize
c75e04f5be
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      packages/ckeditor5-table/src/tablenavigation.js

+ 2 - 2
packages/ckeditor5-table/src/tablenavigation.js

@@ -450,8 +450,8 @@ export default class TableNavigation extends Plugin {
 		const isBeforeFirstCell = column < 0 && row <= 0;
 		const isAfterLastCell = column > lastColumn && row >= lastRow;
 
-		// Note that if the last table cell is row-spanned then isAfterLastCell will never be true but we don't know
-		// if user was navigating on the last row or not, so let's allow him to stay in the table.
+		// Note that if the table cell at the end of a row is row-spanned then isAfterLastCell will never be true.
+		// However, we don't know if user was navigating on the last row or not, so let's stay in the table.
 
 		if ( isOutsideVertically || isBeforeFirstCell || isAfterLastCell ) {
 			model.change( writer => {