X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2FHtmlEditorCore.js;h=c99e4609aa1a2dd2473db695f841be379070c5e5;hp=733d91f34b3faef308e0abe40fe23117cf048260;hb=13df6777c20386c4ad346b90121a6dc556d72ddd;hpb=417e802b7d558bc5e6fff76ffd42e5b93057a977 diff --git a/Roo/HtmlEditorCore.js b/Roo/HtmlEditorCore.js index 733d91f34b..c99e4609aa 100644 --- a/Roo/HtmlEditorCore.js +++ b/Roo/HtmlEditorCore.js @@ -1165,11 +1165,11 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { if (a.name == 'class') { if (a.value.match(/^Mso/)) { - node.className = ''; + node.removeAttribute('class'); } if (a.value.match(/^body$/)) { - node.className = ''; + node.removeAttribute('class'); } continue; }