src/js/wysiwygCommands/tableRemoveCol.js
function removeColByCell($cell) {
  const index = $cell.index();

  $cell.parents('table').find('tr').each((n, tr) => {
    $(tr).children().eq(index).remove();
  });
}
function removeColByCell($cell) {
  const index = $cell.index();

  $cell.parents('table').find('tr').each((n, tr) => {
    $(tr).children().eq(index).remove();
  });
}
function removeColByCell ( $cell ) { const index = $cell . index ( ) ; $cell . parents ( 'table' ) . find ( 'tr' ) . each ( ( n , tr ) => { $ ( tr ) . children ( ) . eq ( index ) . remove ( ) ; } ) ; }
Remove column by given cell
@param {jQuery} $cell - jQuery wrapped table cell
Remove column by given cell