fix attribute
[roojs1] / examples / bootstrap / htmleditor.js
index acc9a3a..76a4c7a 100644 (file)
@@ -1,4 +1,4 @@
-
+var htmleditor;
 
 Roo.example = Roo.example || {};
 
@@ -46,7 +46,13 @@ Roo.example.calendar = new Roo.XComponent({
                                             xtype: 'HtmlEditor',
                                             xns: Roo.bootstrap,
                                             fieldLabel : "Editor",
-                                            name : "editor"
+                                            labelAlign: 'top',
+                                            name : "editor",
+                                            listeners : {
+                                                render : function() {
+                                                    htmleditor = this;
+                                                }
+                                            }
                                             
                                         }
                                     ]