Sfoglia il codice sorgente

Docs: Update the docs of a TableWalker.

Maciej Gołaszewski 7 anni fa
parent
commit
ea1fcdca9d
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      packages/ckeditor5-table/src/tablewalker.js

+ 6 - 0
packages/ckeditor5-table/src/tablewalker.js

@@ -199,6 +199,12 @@ export default class TableWalker {
 		};
 	}
 
+	/**
+	 * Updates the cell spans of a previous cell.
+	 *
+	 * @returns {Number}
+	 * @private
+	 */
 	_updateSpans() {
 		const colspan = this._previousCell.getAttribute( 'colspan' ) || 1;
 		const rowspan = this._previousCell.getAttribute( 'rowspan' ) || 1;