src/tables.js
function tableShouldBeSkipped(tableNode) {
  if (!tableNode) return true;
  if (!tableNode.rows) return true;
  if (tableNode.rows.length <= 1 && tableNode.rows[0].childNodes.length <= 1) return true; // Table with only one cell
  if (nodeContainsTable(tableNode)) return true;
  return false;
}
function tableShouldBeSkipped(tableNode) {
  if (!tableNode) return true;
  if (!tableNode.rows) return true;
  if (tableNode.rows.length <= 1 && tableNode.rows[0].childNodes.length <= 1) return true; // Table with only one cell
  if (nodeContainsTable(tableNode)) return true;
  return false;
}
function tableShouldBeSkipped ( tableNode ) { if ( ! tableNode ) return true ; if ( ! tableNode . rows ) return true ; if ( tableNode . rows . length <= 1 && tableNode . rows [ 0 ] . childNodes . length <= 1 ) return true ; // Table with only one cell if ( nodeContainsTable ( tableNode ) ) return true ; return false ; }
Various conditions under which a table should be skipped - i.e. each cell will be rendered one after the other as if they were paragraphs.
Various conditions under which a table should be skipped - i . e . each cell will be rendered one after the other as if they were paragraphs .