Closed (fixed)
Project:
Tiny Tiny MCE
Version:
6.x-1.7
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2008 at 03:45 UTC
Updated:
16 Sep 2008 at 08:12 UTC
Is there a way to turn off the rich text editor by default? I prefer to not have the rich text editor automatically show up, as we regularly use coding that is messed up by the editor (such as CiviCRM forms, other types of forms, PHP, css, etc.).
I prefer for it to always show me the html, and the editor come on it I click the link for it to come on. With the regular TinyMCE, I just set it to be off by default. How can I do that with Tiny Tiny MCE?
Comments
Comment #1
Steve Lockwood commentedIf you go to admin/settings/tinytinymce there is a section called "exclude these textareas".
In here you can list the IDs of text areas which are not to be treated as rich text.
I hope this helps - please re-open the issue if not.
Steve
Comment #2
Steve Lockwood commentedFurther to this, in the init script in the admin screen - you can change the elements declaration so that your node is not automatically turned on to the rich text editor
Comment #3
jsimonis commentedI'd rather not have any of the, turn on be default. So what would I change it to in order to have it not do so? I know it can be changed, but I don't know what to change it to.
Comment #4
Steve Lockwood commentedIn the latest version, 6.x.1.8, I have added a new parameter so you can specify which textareas are turned off (but still supplied with a toggle so you can turn them on).
You would need to:
- install the latest version
- go into admin/settings/tinytinymce
- click Reset to defaults
- Then, in the section "Switch off these text areas", enter the names of the textareas you want initially switched off. (You can use the "Show textarea IDs" option to help you identify them.)
In this version, you have to specify the textareas to be turned off. I'm thinking of adding an option so you can reverse the logic (ie turn off by default and specify what is to be turned on.)
Note also that, if you turn off the rich text editor and enter some PHP code, rich text editing will be auomatically turned off the next time you edit the node.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.