src/js/wysiwygCommands/tableRemoveCol.js
function removeMultipleColsByCells($cells) {
  const numberOfCells = $cells.length;
  for (let i = 0; i < numberOfCells; i += 1) {
    const $cellToDelete = $cells.eq(i);
    if ($cellToDelete.length > 0) {
      removeColByCell($cells.eq(i));
    }
  }
}
function removeMultipleColsByCells($cells) {
  const numberOfCells = $cells.length;
  for (let i = 0; i < numberOfCells; i += 1) {
    const $cellToDelete = $cells.eq(i);
    if ($cellToDelete.length > 0) {
      removeColByCell($cells.eq(i));
    }
  }
}
function removeMultipleColsByCells ( $cells ) { const numberOfCells = $cells . length ; for ( let i = 0 ; i < numberOfCells ; i += 1 ) { const $cellToDelete = $cells . eq ( i ) ; if ( $cellToDelete . length > 0 ) { removeColByCell ( $cells . eq ( i ) ) ; } } }
Remove columns by given cells
@param {jQuery} $cells - jQuery table cells
Remove columns by given cells