Roo/HtmlEditorCore.js
authorEdward <edward@roojs.com>
Fri, 6 Jun 2014 06:03:24 +0000 (14:03 +0800)
committerEdward <edward@roojs.com>
Fri, 6 Jun 2014 06:03:24 +0000 (14:03 +0800)
Roo/HtmlEditorCore.js

index 8546fbf..10ee66f 100644 (file)
@@ -345,10 +345,9 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
         if(this.initialized){
             var v = this.el.dom.value.trim();
             
-            if(v.length < 1){
+//            if(v.length < 1){
 //                v = '&#160;';
-                v = '';
-            }
+//            }
             
             if(this.owner.fireEvent('beforepush', this, v) !== false){
                 var d = (this.doc.body || this.doc.documentElement);