the "uses_tiny_mce" tells "include tini_mce_if_needed" to add the javascripts and styles. So, you could add uses_tiny_mce every parent controller where the nesting will happen, or use tiny_mce always.
On Tue, Feb 14, 2012 at 8:12 AM, Hernan Astudillo <[email protected]> wrote: > Any chance to upgrade your rails to >= 3.1 ? > > > On Wed, Feb 8, 2012 at 5:31 AM, Soren <[email protected]> wrote: > >> Hi, >> >> Have been using TinyMce in various AS without any problems. >> >> But today it would be very convenient to use if while editing a record >> through a nested view. >> >> In my case I have some elements that belongs to a group. If you from >> the group view clicks that elements, and then click edit, you get the >> regular editor. >> If you add "uses_tiny_mce" (you already have this on the elements >> controller) to the groups controller then you get the editor loaded >> but things are not quite functional yet. >> >> Has anyone gotten this to work ? >> >> /S >> >> -- >> You received this message because you are subscribed to the Google Groups >> "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
