Roo/HtmlEditorCore.js
[roojs1] / Roo / HtmlEditorCore.js
index 75243d4..3eca682 100644 (file)
@@ -376,7 +376,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
             
            
             if (this.enableBlocks) {
-                Roo.htmleditor.Block.initAll(this.doc.body);
+                Roo.htmleditor.Block.initAll(bd);
                 new Roo.htmleditor.FilterBlock({ node : div });
             }