Roo/form/HtmlEditor.js
authorEdward <edward@roojs.com>
Mon, 8 Jun 2015 08:49:00 +0000 (16:49 +0800)
committerEdward <edward@roojs.com>
Mon, 8 Jun 2015 08:49:00 +0000 (16:49 +0800)
Roo/form/HtmlEditor.js

index 4066026..2a3cdff 100644 (file)
@@ -283,7 +283,7 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
                 }
                 
                 this.setValue(f.join("\t") + value.substring(end));
-                this.el.dom.setSelectionRange(end + 1, end + 1);
+                this.el.dom.setSelectionRange(end, end);
                 
             },