Roo/form/HtmlEditor/ToolbarStandard.js
authorEdward <edward@roojs.com>
Fri, 19 Jun 2015 03:06:18 +0000 (11:06 +0800)
committerEdward <edward@roojs.com>
Fri, 19 Jun 2015 03:06:18 +0000 (11:06 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js

index 9b3512d..b664445 100644 (file)
@@ -460,6 +460,11 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
             for(var i =0; i< this.btns.length;i++) {
                 var b = Roo.factory(this.btns[i],Roo.form);
                 b.cls =  'x-edit-none';
+                
+                if(this.btns[i].cls.indexOf('x-init-enable')){
+                    b.cls += ' x-init-enable';
+                }
+                
                 b.scope = editorcore;
                 tb.add(b);
             }