if (typeof(this.colWidths[cn]) == 'undefined') {
this.colWidths[cn] = ce.style.width;
+ console.log("colWidths " + cn);
+ console.log(ce.style.width);
if (this.colWidths[cn] != '') {
all_auto = false;
}
mergeRight: function()
{
+ console.log("htmleditor.BlockTd mergeRight");
// get the contents of the next cell along..
var tr = this.node.closest('tr');
},
normalizeWidths : function(table)
{
+ console.log("htmleditor.BlockTd normalizeWidths");
+ console.log("colWidths 0");
+ console.log(this.colWidths[0]);
+ console.log("colWidths 1");
+ console.log(this.colWidths[1]);
if (this.colWidths[0] === false) {
var nw = 100.0 / this.colWidths.length;
shrinkColumn : function()
{
+ console.log("htmleditor.BlockTd shrinkColumn");
var table = this.toTableArray();
+ console.log(table);
this.normalizeWidths(table);
var col = this.cellData.col;
var nw = this.colWidths[col] * 0.8;
},
growColumn : function()
{
+ console.log("htmleditor.BlockTd growColumn");
var table = this.toTableArray();
+ console.log(table);
this.normalizeWidths(table);
var col = this.cellData.col;
var nw = this.colWidths[col] * 1.2;