Just add the class 'mceNoEditor' to any textareas you don't want converted
to rich text editors (you'll need to override the events/edit and events/new
views)



On Mon, May 10, 2010 at 9:59 PM, james <[email protected]> wrote:

> Hi All,
>
> I am trying to turn off TinyMCE for events (without modifying the base
> code), but so far have failed. Firstly I tried removing
>
> :class => "rich_text_editor"
>
> from the new and edit views. That did not work. Then I tried
> overriding the default events controller behaviour by including the
> following in my own events controller:
>
> uses_tiny_mce(:only => [ ]) do
>    AppConfig.default_mce_options
> end
>
> Which did nothing, so I tried:
> uses_tiny_mce(:except => [:new, :create, :edit, :update, :clone ]) do
>    AppConfig.default_mce_options
> end
>
> Which also did not have the desired effect.
>
> Is there a way to turn off the TinyMCE plugin for events without
> modifying the base code?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "CommunityEngine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<communityengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/communityengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" 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/communityengine?hl=en.

Reply via email to