code: 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;
  }
docs: Get cell by range object
  @param {Range} range range
  @returns {HTMLElement|Node}