code: function onTab(
      event: *,
      change: Change,
      editor: *,
      opts: Options
  ): void | Change {
      event.preventDefault();
      const { value } = change;
      const direction = event.shiftKey ? -1 : +1;
  
      // Create new row if needed
      const { startKey, selection } = value;
      const pos = TablePosition.create(opts, value.document, startKey);
      if (pos.isFirstCell() && direction === -1) {
          insertRow(opts, change, 0);
      } else if (pos.isLastCell() && direction === 1) {
          insertRow(opts, change);
      }
  
      // Move back to initial cell (insertRow moves selection automatically).
      change.select(selection);
  
      // Move
      moveSelectionBy(opts, change, direction, 0);
  
      // Select all cell.
      return selectAllText(change);
  }
docs: Pressing "Tab" moves the cursor to the next cell
  and select the whole text