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

index d2cbd3b..5aee06c 100644 (file)
@@ -369,7 +369,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                     handler: function(a,b) {
                         var c = editor.getValue();
                         Roo.log(Roo.get(editor.doc.body));
-                        
+                        c.select()
                         
 //                        editor.insertAtCursor(String.fromCharCode(a.html.replace('&#','').replace(';', '')));
                         //editor.insertAtCursor(a.html);