Roo/form/HtmlEditor/ToolbarStandard.js
authorEdward <edward@roojs.com>
Mon, 13 Jan 2014 07:43:51 +0000 (15:43 +0800)
committerEdward <edward@roojs.com>
Mon, 13 Jan 2014 07:43:51 +0000 (15:43 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js

index 7e72bb4..b35cbd4 100644 (file)
@@ -370,8 +370,10 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                         var c = Roo.get(editor.doc.body);
                         var nodes = [];
                         c.select('[style]').each(function(i) {
-                            nodes.push(i.dom);
+                            
+                            nodes.push(i.dom.getAttributeNs('font-size','style'));
                         });
+                        
                         Roo.log(nodes);
 //                        editor.insertAtCursor(String.fromCharCode(a.html.replace('&#','').replace(';', '')));
                         //editor.insertAtCursor(a.html);