Hi, I'm using tinyMCE in my forms and have noticed that I only use two
configurations : a very limited one, for things like comments, and a
more complex one, for the administators of the site.
For the moment I do that by repeating this sort of code in each form :
//TinyMCE
$this->widgetSchema['comment'] = new
sfWidgetFormTextareaTinyMCE(array(
'width' => 550,
'height' => 150,
'config' => '
theme_advanced_buttons1 :
"bold,italic,separator,bullist,separator,link,
sub,sup,separator,charmap",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_path : false,
language : "fr"
'
));
How could I create two widgets, say TinyMCESmall and TinyMCEFull, so
that I don't have to repeat code ?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en