It is possible, but you need to rewrite the table inserting code in /dialog/fck_table.html. We don't want that because it makes a lot of work when updating to a new FCKEditor version.
Before using FCKEditor we had our own version, it used the next code for table insertion wich has the feature you asked. This code generates the table code by itself and does not uses the execcommand inserttable but the pasteHTML function.
function AddTable(){ var Rows = parseInt(document.TableOpts.Rows.value);
if(Rows < 1 || isNaN(Rows)){ window.alert("No number of rows given"); return; }
var Cols = parseInt(document.TableOpts.Cols.value);
if(Cols < 1 || isNaN(Cols)){ window.alert("No number of colums given"); return; }
var sTable = "<TABLE"; var sStyle = ' STYLE="'; sTable = sTable + " borderColor=black cellSpacing=0 cellPadding=2 border=1";
RE: Tables with & nbsp ;
Before using FCKEditor we had our own version, it used the next code for table insertion wich has the feature you asked. This code generates the table code by itself and does not uses the execcommand inserttable but the pasteHTML function.
function AddTable(){
var Rows = parseInt(document.TableOpts.Rows.value);
if(Rows < 1 || isNaN(Rows)){
window.alert("No number of rows given");
return;
}
var Cols = parseInt(document.TableOpts.Cols.value);
if(Cols < 1 || isNaN(Cols)){
window.alert("No number of colums given");
return;
}
var sTable = "<TABLE";
var sStyle = ' STYLE="';
sTable = sTable + " borderColor=black cellSpacing=0 cellPadding=2 border=1";
var Width = parseInt(document.TableOpts.Width.value);
if(Width > 0){
if(TableOpts.WidthPP[1].checked){
sStyle = sStyle + ' WIDTH: ' + Width + '%;';
}else{
sStyle = sStyle + ' WIDTH: ' + Width + 'px;';
}
}
sStyle = sStyle + '"';
sTable = sTable + sStyle + ">";
for(RowNum = 0; RowNum < Rows; RowNum++){
sTable = sTable + "<TR>";
for(ColNum = 0; ColNum < Cols; ColNum++){
sTable = sTable + "<TD> </TD>";
}
sTable = sTable + "</TR>";
}
sTable = sTable + "</TABLE>";
oSelectionObject = window.opener.document.selection;
oRangeObject = oSelectionObject.createRange();
if(oSelectionObject.type == "Text"){
oRangeObject.pasteHTML(sTable + oRangeObject.text);
}else{
oRangeObject.pasteHTML(sTable);
}
window.close();
}