Roo/form/HtmlEditor.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 20 May 2011 06:23:27 +0000 (14:23 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 20 May 2011 06:23:27 +0000 (14:23 +0800)
Roo/form/HtmlEditor.js

index 55a3851..27ab1fc 100644 (file)
@@ -374,6 +374,7 @@ Roo.form.HtmlEditor = Roo.extend(Roo.form.Field, {
             }
             if(this.fireEvent('beforepush', this, v) !== false){
                 (this.doc.body || this.doc.documentElement).innerHTML = v;
+                this.cleanUpPaste();
                 this.fireEvent('push', this, v);
             }
         }