Browse Source

Restore comment about location map.

Maciej Gołaszewski 5 năm trước cách đây
mục cha
commit
92083f87c7

+ 1 - 0
packages/ckeditor5-table/src/tableclipboard.js

@@ -167,6 +167,7 @@ export default class TableClipboard extends Plugin {
 				pastedTable = cropTableToDimensions( pastedTable, cropDimensions, writer, tableUtils );
 				pastedTable = cropTableToDimensions( pastedTable, cropDimensions, writer, tableUtils );
 			}
 			}
 
 
+			// Holds two-dimensional array that is addressed by [ row ][ column ] that stores cells anchored at given location.
 			const pastedTableLocationMap = createLocationMap( pastedTable, selectionWidth, selectionHeight );
 			const pastedTableLocationMap = createLocationMap( pastedTable, selectionWidth, selectionHeight );
 
 
 			// Content table to which we insert a pasted table.
 			// Content table to which we insert a pasted table.