To my knowledge, there is no way in TinyMCE to turn this off only for fields that have an input set. If there were, it would have to be in a separate module. The mechanism for doing this has been hotly debated on drupal dev lists for a long time.
What you can do, is to implement a theme function that turns TinyMCE off for specific urls, or to do this yourself in the TinyMCE config, or turn tinymce to off by default for users that can edit PHP (like yourself).
Dave
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of sander-martijn Sent: Friday, December 14, 2007 10:07 AM To: support@drupal.org Subject: Re: [support] tinyMCE Showing in php mode
anyone have any thoughts on this?
sander-martijn wrote:
On one of my sites I recently enabled tinyMCE for views editing for
the
client (against my wishes, but that's how client management works sometimes). Some of the views use php mode in the headers and as this
is the first time the two crossed paths this is the first time I have noticed that tinyMCE isn't disabling itself when the field is in php mode. Searching the forums I found that it is supposed to be
disabled,
but couldn't find anyone saying that it was enabled for them. tinyMCE
messes with the php code such that even if you disable it the php code
is still garbled.
Anyone know why this is happening? I tried to find a configuration where it might be accidentally enabled for that mode but couldn't. I tried input formats, tinyMCE configuration and access control but
don't
see it in any of these places.
.sander