src/js/wysiwygCommands/tableRemoveRow.js
function focusToFirstTd(sq, range, $tr, tableMgr) {
  const nextFocusCell = $tr.find('td').get(0);
  range.setStart(nextFocusCell, 0);
  range.collapse(true);

  tableMgr.setLastCellNode(nextFocusCell);
  sq.setSelection(range);
}
function focusToFirstTd(sq, range, $tr, tableMgr) {
  const nextFocusCell = $tr.find('td').get(0);
  range.setStart(nextFocusCell, 0);
  range.collapse(true);

  tableMgr.setLastCellNode(nextFocusCell);
  sq.setSelection(range);
}
function focusToFirstTd ( sq , range , $tr , tableMgr ) { const nextFocusCell = $tr . find ( 'td' ) . get ( 0 ) ; range . setStart ( nextFocusCell , 0 ) ; range . collapse ( true ) ; tableMgr . setLastCellNode ( nextFocusCell ) ; sq . setSelection ( range ) ; }
Focus to first TD in given TR
@param {SquireExt} sq Squire instance
@param {Range} range Range object
@param {jQuery} $tr jQuery wrapped TR
@param {object} tableMgr Table manager
Focus to first TD in given TR