Hi,
Seems that never version of AS has dropped support from loading the TinyMCE
configuration from the multiple configurations config.yml file as supported and
outlined by the tinymce-rails gem.
Would there be anything wrong with extending the TinyMce Bridge to use this
configuration scheme. Obviously it would assume that the bridge depends upon
tinymce-rails but that is the whole point of the bridge anyway - right ?
If there was a way to specify the configuration in the options to the column
rather than specifying the entire configuration I for sure would be happy not
to have to copy and update each controller that uses TinyMCE - Simpler and much
DRY'er. So something like
config.columns[:description].options = {:html_options => [[:rows, '30'],
[:cols, '120']], :tinymce => tiny_mce_config(:advanced, options)}
The tinymce-rails gem already provide a helper method that does most of the
work - tinymce_configuration(config=:default, options={}). Seems like that just
needs to be referenced in the Bridge code.
Objections or comments ?
BTW - Has anyone had any success with using version 4 of TinyMCE with AS ??
/S
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.