function createTableAndSelectCell(tableProps = undefined) {
  Range.createCaret(field, 1).select();
  plugin.execCommandInternal(TableEditor.COMMAND.TABLE, tableProps);
  if (userAgent.IE) {
    /** @suppress {checkTypes} suppression added to enable type checking */
    const range = Range.createFromNodeContents(
        dom.getElementsByTagName(TagName.TD, field)[0]);
    range.select();
  }
}
Helper method which creates a table and puts the cursor on the first TD.
In IE, the cursor isn't positioned in the first cell (TD) and we simulate
that behavior explicitly to be consistent across all browsers.
@param {Object} op_tableProps Optional table properties.
@suppress {checkTypes,visibility} suppression added to enable type checking