Roo/form/HtmlEditor/ToolbarContext.js
authorAlan Knowles <alan@roojs.com>
Wed, 31 Aug 2011 04:31:00 +0000 (12:31 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 31 Aug 2011 04:31:00 +0000 (12:31 +0800)
Roo/form/HtmlEditor/ToolbarContext.js

index 037a00c..c04b2cc 100644 (file)
@@ -303,8 +303,13 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
             ///console.log("show: " + tn);
             this.tb =  typeof(ty[tn]) != 'undefined' ? this.toolbars[tn] : this.toolbars['*'];
             this.tb.el.show();
-           
+            // update name
             this.tb.items.first().el.innerHTML = tn + ':&nbsp;';
+            
+            // update styles
+            
+            // update attributes
+            
             if (this.tb.fields) {
                 this.tb.fields.each(function(e) {
                    e.setValue(sel.getAttribute(e.name));