projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
349aa02
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 04:58:58 +0000
(12:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 04:58:58 +0000
(12:58 +0800)
Roo/form/HtmlEditor/ToolbarContext.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarContext.js
b/Roo/form/HtmlEditor/ToolbarContext.js
index
9cf4b73
..
ae8d328
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-555,6
+555,10
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
width: item.width ? item.width : 130,
listeners : {
'select': function(c, r, i) {
+ if (c.stylename) {
+ tb.selectedNode.style[c.stylename] = r.get('val');
+ return;
+ }
tb.selectedNode.setAttribute(c.attrname, r.get('val'));
}
}