| Page 1 of 1 | [ 3 posts ] |
|
Hi Guys,
Ok I am clearly not with the program. I'm trying to alter some stuff in the RTE toolbar. I've read elsewhere that Dave recommends setting display none on elements in there rather than excluding them form the config No problem!! The thing is in a few instances I'm simply trying to alter the label of a button group. These alterations are being ignored. Things like height and width aren't. But if I say, change the 'titlebar' value in my conifg block this has no effect and I get the default string. I'm going to guess the trick is to actually manipulate these elements after render and before display. which is no big hassle I've been doing it all over other parts of the RTE for a while now but I'm concerned that I don't know what's happening and might be missing a more elegant and legible ( i.e do it in the config block for all to see ) solution. Any advice my fine peoples? As always, thank you for your fine Library! regards, Justin |
|
When you instantiate the Editor (just before render) you have access to the `_defaultToolbar` property which contains the config for the Toolbar that will be created. You can modify that as a shortcut:
http://jsfiddle.net/davglass/zqEXv/ |
|
Brilliant! Thanks Dave!
|
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group