rem: bodyelement.removeAttribute("text"); bodyelement.removeAttribute("bgcolor"); 
add: gEditor.removeAttributeOrEquivalent(bodyelement, "text", true); gEditor.removeAttributeOrEquivalent(bodyelement, "bgcolor", true); 
context: function EditorResetFontAndColorAttributes(){  document.getElementById("cmd_fontFace").setAttribute("state", "");  EditorRemoveTextProperty("font", "color");  EditorRemoveTextProperty("font", "bgcolor");  EditorRemoveTextProperty("font", "size");  EditorRemoveTextProperty("small", "");  EditorRemoveTextProperty("big", "");  var bodyelement = GetBodyElement();  if (bodyelement)  {    bodyelement.removeAttribute("text");    bodyelement.removeAttribute("bgcolor");    bodyelement.removeAttribute("link");    bodyelement.removeAttribute("alink");    bodyelement.removeAttribute("vlink");    bodyelement.removeAttribute("background");  }  gColorObj.LastTextColor = "";  gColorObj.LastBackgroundColor = "";  gColorObj.LastHighlightColor = "";  document.getElementById("cmd_fontColor").setAttribute("state", "");  document.getElementById("cmd_backgroundColor").setAttribute("state", "");  UpdateDefaultColors();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/e03e047dcf2d433cf8a3fd1eef00ed0ebcd6a62c/editor.js/clean/editor/ui/composer/content/editor.js