examples/bootstrap/Editor.js
[roojs1] / examples / bootstrap / Editor.js
index c9e9685..980bba3 100644 (file)
@@ -6,7 +6,7 @@ Roo.example.Editor = new Roo.XComponent({
     part     :  ["layout","viewpanel"],
     order    : '001-viewpanel',
     region   : '',
-    parent   : '#bootstrap',
+    parent   : false,
     name     : "unnamed module",
     disabled : false, 
     permname : '', 
@@ -44,16 +44,16 @@ Roo.example.Editor = new Roo.XComponent({
                                         },
                                         {
                                             xtype : 'Panel',
-                                            xns : Roo.bootstrap.editor,
+                                            xns : Roo.bootstrap.HtmlEditor,
                                             name : 'thanks-email',
                                             width : 1000,
                                             height : 1500,
                                             stylesheets : (function(){
                                                 var css = [];
                                                 
-                                                css.push(rootURL + '/roojs1/css-bootstrap/bootstrap.css');
-                                                css.push(rootURL + '/roojs1/css-bootstrap/font-awesome.css');
-                                                css.push(rootURL + '/Campaign/editor/editor.css');
+                                                css.push('../css-bootstrap/bootstrap.css');
+                                                css.push('../css-bootstrap/font-awesome.css');
+                                                //css.push(rootURL + '/Campaign/editor/editor.css');
                                                 
                                                 return css;
                                             })(),