includes/clientside/tinymce/plugins/table/js/cell.js
changeset 395 fa4c5ecb7c9a
parent 335 67bd3121a12e
child 459 31c23016ab62
--- a/includes/clientside/tinymce/plugins/table/js/cell.js	Thu Jan 31 22:29:07 2008 -0500
+++ b/includes/clientside/tinymce/plugins/table/js/cell.js	Sat Feb 02 11:54:16 2008 -0500
@@ -133,6 +133,7 @@
 	var curCellType = td.nodeName.toLowerCase();
 	var celltype = getSelectValue(formObj, 'celltype');
 	var doc = inst.getDoc();
+	var dom = ed.dom;
 
 	if (!skip_id)
 		td.setAttribute('id', formObj.id.value);
@@ -185,6 +186,8 @@
 		td = newCell;
 	}
 
+	dom.setAttrib(td, 'style', dom.serializeStyle(dom.parseStyle(td.style.cssText)));
+
 	return td;
 }