FAQ and Faq_Ask have multiline title fields but TinyMCE should not be playing in the title playground. How can we disable that?
http://drupal.org/node/235069
FAQ and Faq_Ask have multiline title fields but TinyMCE should not be playing in the title playground. How can we disable that?
http://drupal.org/node/235069
Comments
Comment #1
dinis commentedI've been trying to figure this out too, anyone got any idea?
Comment #2
nancydruApparently not.
Comment #3
ceej23 commentedThe module README details the theme_tinymce_theme() function which lets you turn off TinyMCE for any textarea. Is this what you're after?
Comment #4
nancydruWell that presupposes that one has the module to read that. I do not. I merely maintain modules that this is affecting.
People have mentioned that there is a place where this can be done on a field by field basis. But I am a module developer who wants to head the problem off before it happens. What I need is a way to say, "Here's my form, but please don't modify it."
Comment #5
nancydruAfter hunting, I found the documentation pages in the Contributed modules section of the Handbooks. This will not help me, I don't think, because I'm looking at the run-time code as opposed to theme-time code.
Comment #6
stella commented+1 for NancyDru's request
Comment #7
timefor commented+2 NancyDru's request.
I have a couple of multiline text boxes that I don't want html to be posted in it. I think this might be simple enough... the default config of TinyMCE makes HTML the default input. If we changed that to false then wouldn't that make plain text the new default?
My thinking is that then anytime you allowed HTML as an input MCE would kick in?
Is there another way though to turn on / off TinyMCE for some text boxes?
- Jayson
Comment #8
pauldawg commentedI have tried adding a new Filter to eliminate all tags but this still doesn't work, because the validation for the forms will still look at the HTML that is output with TinyMCE enabled.
For example, I have a module that asks for an email address to send notifications to. TinyMCE is enabled, so once I enter an email address, even with a Plain Text filter enabled, I get a warning saying
<p>yourname@email.com</p> is not a valid email address.TinyMCE is almost perfect except for this fact, but nevertheless I may be forced to disable it entirely which would really hamper my ability to roll out my site, which is scheduled to go live very soon. Please someone help me disable TinyMCE on a given field while enabling it on another field on the same page!
Comment #9
nancydru@pauldawg: http://drupal.org/node/179462
Comment #10
pauldawg commentedThank you Nancy! That worked perfectly! Ahhh....
Comment #11
mupsi