Roo/form/HtmlEditor/ToolbarContext.js
authorAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 08:29:14 +0000 (16:29 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 20 Aug 2013 08:29:14 +0000 (16:29 +0800)
Roo/form/HtmlEditor/ToolbarContext.js

index 31a3fbe..7e69dd2 100644 (file)
@@ -235,24 +235,7 @@ Roo.form.HtmlEditor.ToolbarContext.options = {
 };
 
 // fixme - these need to be configurable..
-
-Roo.form.HtmlEditor.ToolbarContext[ 'font-family']  = {
-    title : "font",
-    style : 'fontFamily',
-    displayField: 'display',
-    optname : 'font-family',
-    width: 140
-
-};
-
-Roo.each([ 'SPAN', 'DIV' , 'TD' , 'P' ], function(tg) {
-    var cx= Roo.form.HtmlEditor.ToolbarContext;
-    if (typeof(cx.types[tg]) == 'undefined') {
-        cx.types[tg] = {};
-    }
-    
-    cx.types[tg]['font-family'] = cx[ 'font-family'] ;
-});
 
 Roo.form.HtmlEditor.ToolbarContext.types