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

index 37ce908..74f74ff 100644 (file)
@@ -268,6 +268,7 @@ 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.el.dom.setSelectionRange(end + 1, end + 1);