Roo/form/HtmlEditor/ToolbarContext.js
[roojs1] / Roo / form / HtmlEditor / ToolbarContext.js
index a0cb77a..f40d19b 100644 (file)
@@ -567,7 +567,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
             }));
         }
             
-        
+        var tbops = Roo.form.HtmlEditor.ToolbarContext.options;
         
         for (var i in tlist) {
             
@@ -576,6 +576,11 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
             
             
             
+            var opts = item.opts ? item.opts : false;
+            if (items.optname) {
+                opts = 
+                //code
+            }
             
             if (item.opts) {
                 // opts == pulldown..