this.colspan += rc.colspan;
this.node.setAttribute('colspan', this.colspan);
+ var table = this.toTableArray();
+ this.normalizeWidths(table);
+ this.updateWidths(table);
},
console.log("htmleditor.BlockTd updateWidths");
console.log("TABLE");
console.log(table);
+ console.log("COLWIDTH");
+ console.log(this.colWidths);
for(var r = 0 ; r < table.length; r++) {
for(var c = 0 ; c < table[r].length; c++) {
el.width = Math.floor(this.colWidths[c]) +'%';
el.updateElement(el.node);
}
+ else {
+ console.log("CELL COLSPAN");
+ console.log(table[r][c]);
+ }
table[r][c].cell = false; // done
}
}