[support] tinyMCE Showing in php mode
sander-martijn
lists at severeddreams.com
Fri Dec 14 19:36:13 UTC 2007
See this behavior is what I want, but is not what I am seeing. It's on
for php code as well.
Greg Holsclaw wrote:
> I noticed this as well. I saw that if I have PHP tags <?php ?>, then it
> stops showing up. But if normal HTML only, then TinyMCE kicks in.
>
> -G
>
> -----Original Message-----
> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
> Behalf Of Metzler, David
> Sent: Friday, December 14, 2007 10:59 AM
> To: support at drupal.org
> Subject: Re: [support] tinyMCE Showing in php mode
>
> 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 at drupal.org [mailto:support-bounces at drupal.org] On
> Behalf Of sander-martijn
> Sent: Friday, December 14, 2007 10:07 AM
> To: support at 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
More information about the support
mailing list