Roo/form/HtmlEditor/ToolbarStandard.js
[roojs1] / Roo / form / HtmlEditor / ToolbarStandard.js
index 3fa01e2..0c0f7d4 100644 (file)
@@ -240,7 +240,6 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                 btn('italic'),
                 btn('underline'),
                 btn('strikethrough')
-                        
             );
         };
         if(!this.disable.fontSize){
@@ -435,7 +434,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                     
                     var c = Roo.get(editorcore.doc.body);
                     c.select('[class]').each(function(s) {
-                        s.dom.className = '';
+                        s.dom.removeAttribute('class');
                     });
                     editorcore.syncValue();
                 },