Roo/form/HtmlEditor.js
authorEdward <edward@roojs.com>
Mon, 8 Jun 2015 06:02:11 +0000 (14:02 +0800)
committerEdward <edward@roojs.com>
Mon, 8 Jun 2015 06:02:11 +0000 (14:02 +0800)
Roo/form/HtmlEditor.js

index d236a77..73c0c8d 100644 (file)
@@ -285,6 +285,8 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
                         continue;
                     }
                     
+                    pos -= lines[i].length;
+                    
                     break;
                 }