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

index 74f74ff..136f0e4 100644 (file)
@@ -268,8 +268,8 @@ Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
                 var end = this.el.dom.selectionEnd;
                 
                 if(!e.shiftKey){
-                    Roo.log(value.substring(0, start));
-                    this.setValue(value.substring(0, start) + "\t" + value.substring(end));
+                    
+                    this.setValue(value.substring(0, start) + "\t" + " ");
                 
                     this.el.dom.setSelectionRange(end + 1, end + 1);
                     return;