Roo/form/HtmlEditor/ToolbarStandard.js
authorEdward <edward@roojs.com>
Mon, 13 Jan 2014 08:44:56 +0000 (16:44 +0800)
committerEdward <edward@roojs.com>
Mon, 13 Jan 2014 08:44:56 +0000 (16:44 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js

index 60b0137..706d047 100644 (file)
@@ -370,15 +370,9 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                         var c = Roo.get(editor.doc.body);
                         var nodes = [];
                         c.select('[style]').each(function(i) {
-                           i.dom.style.removeProperty('font-size');
-//                            i.setStyle()
-                            
-                            Roo.log(i.getStyle('font-size'));
+                            i.dom.style.removeProperty('font-size');
                         });
                         
-//                        editor.insertAtCursor(String.fromCharCode(a.html.replace('&#','').replace(';', '')));
-                        //editor.insertAtCursor(a.html);
-                        
                     },
                     tabIndex:-1
                 });