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

index 706d047..5de4103 100644 (file)
@@ -370,7 +370,7 @@ 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.dom.style.removeProperty(this.cleanStyles[i]);
                         });
                         
                     },