roojs-debug.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 20 May 2011 06:17:16 +0000 (14:17 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 20 May 2011 06:17:16 +0000 (14:17 +0800)
roojs-debug.js

index 8ff0a7c..1d5af12 100644 (file)
@@ -38656,6 +38656,7 @@ Roo.form.HtmlEditor = Roo.extend(Roo.form.Field, {
     syncValue : function(){
         if(this.initialized){
             var bd = (this.doc.body || this.doc.documentElement);
+            this.cleanUpPaste();
             var html = bd.innerHTML;
             if(Roo.isSafari){
                 var bs = bd.getAttribute('style'); // Safari puts text-align styles on the body element!
@@ -39178,7 +39179,7 @@ Roo.form.HtmlEditor = Roo.extend(Roo.form.Field, {
     {
         // cleans up the whole document..
       //  console.log('cleanuppaste');
-        this.cleanUpChildren(this.doc.body)
+        this.cleanUpChildren(this.doc.body);
         
         
     },