Index: editor/dialog/fck_table.html
===================================================================
--- editor/dialog/fck_table.html (revision 2674)
+++ editor/dialog/fck_table.html (working copy)
@@ -137,6 +137,9 @@
if ( ! bExists )
table = oDoc.createElement( "TABLE" ) ;
+ oEditor.FCKUndo.SaveUndoStep() ;
+
+
// Removes the Width and Height styles
if ( bExists && table.style.width ) table.style.width = null ; //.removeAttribute("width") ;
if ( bExists && table.style.height ) table.style.height = null ; //.removeAttribute("height") ;
@@ -302,7 +305,7 @@
}
}
- oEditor.FCKUndo.SaveUndoStep() ;
+
oEditor.FCK.InsertElement( table ) ;
}