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

index d2cbd3b..71cbc60 100644 (file)
@@ -368,7 +368,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                     html: this.cleanStyles[i],
                     handler: function(a,b) {
                         var c = editor.getValue();
-                        Roo.log(Roo.get(editor.doc.body));
+                        Roo.log(Roo.get(editor.doc.body.innerHTML));
                         
                         
 //                        editor.insertAtCursor(String.fromCharCode(a.html.replace('&#','').replace(';', '')));