cleanWord = function(){
var editBody = FCKeditorAPI.GetInstance("text").EditorDocument.body;
var html = FCKeditorAPI.GetInstance("text").EditorDocument.body.innerText;
for(var intLoop=0;intLoop
el=editBody.all[intLoop];
el.removeAttribute("className","",0);
el.removeAttribute("style","",0);
el.removeAttribute("字体"," ",0);
}
html=html.replace(/ /g,"");
html=html.replace(/o:/g,"");
html=html.replace(//g,"");
html=html.replace(//g,"");
html=html.replace(//g,"");
html=html.replace(//g,"");
html=html.replace(//g,"");
html=html.replace(//g,"");
html=html.replace(/
/g,"");
html=html.replace(//g,"");
FCKeditorAPI.GetInstance("text").EditorDocument.body.innerText=html;
}