On the other sites where I use RTE, I have a button to toggle it on and off as needed (based on an example from the Yahoo Developer site). How can I make that work in the context of this Drupal module? There are times when I'd rather edit source. In fact, I'd probably rather have it disabled by default when I pull up a page or story, and then turn it on as needed.

This is the functionality I'd like to add:

http://developer.yahoo.com/yui/examples/editor/switch_editor.html

I'm relatively new to Drupal, so trying to make sure I can take advantage of its power while still figuring out how to bend it to my will.

Comments

jeffcd’s picture

Status: Active » Closed (fixed)

This is already available. Just login as your admin user and got to admin -> setting -> yui editor

There is an option for toggling the editor.

rentex’s picture

I can't find this setting on the page that you specified. What is it called?

rentex’s picture

Category: feature » support
Status: Closed (fixed) » Postponed (maintainer needs more info)
jeffcd’s picture

There are two options that essentially do the same thing:

- Plaintext button
- Coder button

The only difference is that the 'Plaintext button' option will completely hide the YUI Editor. But they both allow you to edit the plain/raw text.

jeffcd’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
leetamus’s picture

This isn't all together true. Either of those methods will still remove any code not officially supported such as PHP or
tags, inline css etc. What we REALLY need is a code mode button that is exactly that - All code supported by the relevant input format.