src/js/wysiwygCommands/tableRemoveCol.js
function getCellByRange(range) {
  let cell = range.startContainer;

  if (domUtils.getNodeName(cell) === 'TD' || domUtils.getNodeName(cell) === 'TH') {
    cell = $(cell);
  } else {
    cell = $(cell).parentsUntil('tr');
  }

  return cell;
}
function getCellByRange(range) {
  let cell = range.startContainer;

  if (domUtils.getNodeName(cell) === 'TD' || domUtils.getNodeName(cell) === 'TH') {
    cell = $(cell);
  } else {
    cell = $(cell).parentsUntil('tr');
  }

  return cell;
}
function getCellByRange ( range ) { let cell = range . startContainer ; if ( domUtils . getNodeName ( cell ) === 'TD' || domUtils . getNodeName ( cell ) === 'TH' ) { cell = $ ( cell ) ; } else { cell = $ ( cell ) . parentsUntil ( 'tr' ) ; } return cell ; }
Get cell by range object
@param {Range} range range
@returns {HTMLElement|Node}
Get cell by range object