Roo/form/HtmlEditor/ToolbarContext.js
authorAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 04:57:30 +0000 (12:57 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 04:57:30 +0000 (12:57 +0800)
Roo/form/HtmlEditor/ToolbarContext.js

index e0e4954..01a5bf4 100644 (file)
@@ -189,7 +189,7 @@ Roo.form.HtmlEditor.ToolbarContext.types = {
 };
 Roo.form.HtmlEditor.ToolbarContext[ 'font-family']  = {
     title : "font",
-    style : 'font-family',
+    style : 'fontFamily',
     opts : [
         [""],
         [ 'Arial'],
@@ -372,8 +372,8 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
             // update attributes
             if (this.tb.fields) {
                 this.tb.fields.each(function(e) {
-                    if (e.attrname) {
-                        //code
+                    if (e.stylename) {
+                        
                     }