Hi,

I'm using the current TinyMCE plugin for rails (V. 3.2.0.2-1). I want
to know if there is a way to use different options for the editor in a
single controller depending on the action invoked. I've tried re-
invoking the uses_tiny_mce declaration in the individual actions,
e.g.

def my_action
  self.class.uses_tiny_mce :options => {this actions options}
...

and also using separate uses_tiny_mce declarations at the top
with :only filters to discriminate between the actions, e.g.

uses_tiny_mce :only => [:edit_small], :options => {edit_small options}
uses_tiny_mce :only => [:edit_big], :options => {edit_big_options}

but neither of these approaches seem to work.

Thanks,
Howard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to