Closed (duplicate)
Project:
TinyMCE
Version:
4.7.x-1.x-dev
Component:
Documentation
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
10 Sep 2006 at 14:08 UTC
Updated:
23 Mar 2007 at 03:22 UTC
How to remove tinyMCE for one text area only??
Hi, I would really like to remove tinymce from only one text area in my site...I tried to simply add the name of the text area in the theme_tinymce_theme function, but I must have done something wrong, as it does not seem to have work at all.
I know I could set it up so that people can turn the rich text editor on and off, but I don't want to activate that function in all the site only for that ONE TEXT AREA...
Could anyone please help me to modify the theme in the right way??
Thanks..
Patchak
Comments
Comment #1
buddaI've just tried the instructions in the INSTALL.txt to create the theme function, however it doesn't appear to work either.
If my theme is called 'boats' I insert the following function in to my themes template.php (as described in http://drupal.org/node/11811)
function boats_tinymce_theme($init, $textarea_name, $theme_name, $is_running) {But it never gets executed. It's been a while since i've done any TinyMCE fiddling, but i think it's right?
Comment #2
buddaWent back in to the Theme admin to clear the cache and now its being called as expected. duh.
Comment #3
latte commentedJust wondering if anyone figured this out yet???
I'm not sure how to implement this
function boats_tinymce_theme($init, $textarea_name, $theme_name, $is_running) {
I just need to turn off tinymce in a flexinode text area.
Hope someone can help.
Thanks,
latte/
Comment #4
csc4 commentedI don't know if it is the best way - but I've used the information in http://drupal.org/node/53296#comment-124384 to disable for particular text areas
Comment #5
kreynen commentedComment #6
kreynen commentedhttp://drupal.org/node/130309