Roo/form/HtmlEditor.js
authorEdward <edward@roojs.com>
Mon, 8 Jun 2015 05:46:37 +0000 (13:46 +0800)
committerEdward <edward@roojs.com>
Mon, 8 Jun 2015 05:46:37 +0000 (13:46 +0800)
Roo/form/HtmlEditor.js

index 73c5b7b..c0d3828 100644 (file)
@@ -274,8 +274,7 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
             "end" : function(e){
                 e.preventDefault();
                 Roo.log('END');
-                Roo.log(this.getValue());
-                Roo.log(this.el.dom.setSelectionRange(0,0));
+                Roo.log(this.el.dom.setSelectionRange(this.getValue().length,this.getValue().length));
             },
 
             scope : this,