projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
21b2565
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 08:29:14 +0000
(16:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 08:29:14 +0000
(16:29 +0800)
Roo/form/HtmlEditor/ToolbarContext.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarContext.js
b/Roo/form/HtmlEditor/ToolbarContext.js
index
31a3fbe
..
7e69dd2
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-235,24
+235,7
@@
Roo.form.HtmlEditor.ToolbarContext.options = {
};
// fixme - these need to be configurable..
};
// 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
Roo.form.HtmlEditor.ToolbarContext.types