Closed (fixed)
Project:
YUI Rich Text Editor
Version:
6.x-1.2-94
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2008 at 15:52 UTC
Updated:
19 Aug 2010 at 18:13 UTC
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
Comment #1
jeffcd commentedThis is already available. Just login as your admin user and got to admin -> setting -> yui editor
There is an option for toggling the editor.
Comment #2
rentex commentedI can't find this setting on the page that you specified. What is it called?
Comment #3
rentex commentedComment #4
jeffcd commentedThere 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.
Comment #5
jeffcd commentedComment #6
leetamus commentedThis 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.