roojs-core.js
[roojs1] / roojs-debug.js
index 2ea11a5..5f3d190 100644 (file)
@@ -44632,18 +44632,20 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
         
         var _this = this;
         
-        tb.addSeparator();
+        if(nm == 'BODY'){
+            tb.addSeparator();
         
-        tb.addButton( {
-            text: 'Stylesheets',
-    
-            listeners : {
-                click : function ()
-                {
-                    _this.editor.fireEvent('stylesheetsclick', _this.editor);
+            tb.addButton( {
+                text: 'Stylesheets',
+
+                listeners : {
+                    click : function ()
+                    {
+                        _this.editor.fireEvent('stylesheetsclick', _this.editor);
+                    }
                 }
-            }
-        });
+            });
+        }
         
         tb.addFill();
         tb.addButton( {