tinymce.full.js
function getWidths(tableGrid, isPercentageBased, table) {

        var cols = getColumnBlocks(tableGrid);

        var backups = Tools.map(cols, function (col) {
          return getInnerEdge(col.colIndex, col.element).x;
        });

        var widths = [];

        for (var i = 0; i < cols.length; i++) {
          var span = cols[i].element.hasAttribute('colspan') ? parseInt(cols[i].element.getAttribute('colspan'), 10) : 1;
          // Deduce if the column has colspan of more than 1
          var width = span > 1 ? deduceSize(backups, i) : getWidth(cols[i].element, isPercentageBased, table);
          // If everything's failed and we still don't have a width
          width = width ? width : RESIZE_MINIMUM_WIDTH;
          widths.push(width);
        }

        return widths;
      }
function getWidths(tableGrid, isPercentageBased, table) {

        var cols = getColumnBlocks(tableGrid);

        var backups = Tools.map(cols, function (col) {
          return getInnerEdge(col.colIndex, col.element).x;
        });

        var widths = [];

        for (var i = 0; i < cols.length; i++) {
          var span = cols[i].element.hasAttribute('colspan') ? parseInt(cols[i].element.getAttribute('colspan'), 10) : 1;
          // Deduce if the column has colspan of more than 1
          var width = span > 1 ? deduceSize(backups, i) : getWidth(cols[i].element, isPercentageBased, table);
          // If everything's failed and we still don't have a width
          width = width ? width : RESIZE_MINIMUM_WIDTH;
          widths.push(width);
        }

        return widths;
      }
function getWidths ( tableGrid , isPercentageBased , table ) { var cols = getColumnBlocks ( tableGrid ) ; var backups = Tools . map ( cols , function ( col ) { return getInnerEdge ( col . colIndex , col . element ) . x ; } ) ; var widths = [ ] ; for ( var i = 0 ; i < cols . length ; i ++ ) { var span = cols [ i ] . element . hasAttribute ( 'colspan' ) ? parseInt ( cols [ i ] . element . getAttribute ( 'colspan' ) , 10 ) : 1 ; // Deduce if the column has colspan of more than 1 var width = span > 1 ? deduceSize ( backups , i ) : getWidth ( cols [ i ] . element , isPercentageBased , table ) ; // If everything's failed and we still don't have a width width = width ? width : RESIZE_MINIMUM_WIDTH ; widths . push ( width ) ; } return widths ; }
Attempt to get the css width from column representative cells.
Attempt to get the css width from column representative cells .