You are not logged in.
Pages: 1
I've made some major changes to InsertTable module, and TableOperations plugin so that on table creation you are forced to add a summary(for accessibility purposes) and have the option to add header and footer at the same time. On table creation it works fine, the header and footer can be added, and the footer spans the table (using colspan as expected) as it should. Yet when doing the same from "Table Properties" in table-operations.js the colspan is trimmed after it's done inserting.
At the end of the
var dialog = new PopupWin(this.editor, HTMLArea._lc("Table Properties", "TableOperations"), function(dialog, params) {
I've tried printing the innerHTML for the table and it does appear there, but when control is returned back to the editor from the popup the colspan is gone. Does anyone know of anything in table-operations.js or associated functions that may cause attributes to be stripped? I've tried it via element.colspan and element.setAttribute('colspan', colCount) to the same effect. Note: colCount is a previously define integer obtained by counting the number of td tags in the first tr of the tbody it finds.
Any suggestions what could cause this behaviour would be appreciated :s
thanks
David G. Paul
[url]http://www.newearthonline.co.uk[/url]
Offline
Pages: 1