docs: function replaceTable($table, tableData) {
    const cellIndexData = tableDataHandler.createCellIndexData(tableData);
    const renderData = tableDataHandler.createRenderData(tableData, cellIndexData);
    const $newTable = $(createTableHtml(renderData));
  
    $table.replaceWith($newTable);
  
    return $newTable;
  }