cleanWord = function(){
var editBody = FCKeditorAPI.GetInstance("text").EditorDocument.body;
varitor html = FCKedAPI. text").EditorDocument.body.innerText;
for(var intLoop=0;intLoop
el=editBody.all[intLoop];
el.removeAttribute(removeAttribute( "className","",0);
el.removeAttribute("style","",0);
el.removeAttribute("字體"," ",0);
}
html=html.replace(/
/g,"");
html=html.replace(/o:/g,""); 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;