No "disable rich text" in TinyMCE (patch)
biggena - July 20, 2008 - 12:23
| Project: | TinyMCE WYSIWYG Editor |
| Version: | 6.x-1.1-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | patch (reviewed & tested by the community) |
Jump to:
Description
The latest version of TinyMCE module doesn't show a toggle for disabling or enabling of rich text editor.
Even if you set true for "Show disable/enable rich text editor toggele" in a profile.
Below patch fixes that problem.
I have included also the patched file tinymce.module.
It was tested on:
- Drupal 6.x
- TinyMCE module 6x-1.1-dev
- TinyMCE 3.0.9 (release date 2008-06-02)
| Attachment | Size |
|---|---|
| ToggleTinyMCE.patch | 3.14 KB |
| TinymceModuleFile.zip | 7.98 KB |

#1
Just after I posted this patch, I found that another developer has fixed the same problem:
http://drupal.org/node/244066
#2
Thanks bigenna! This patch worked for me on Drupal 6.4, TinyMCE 3.
Thanks very much also for including the module zip file. That was excellent!
#3
Thanks, it works. But when I choose preview in blog, two entries for the toggle appear.
#4
Thx
#5
great ! thanks !
work with the last TinyMCE Version 3.2.0.1 (2008-09-17)
#6
Sorry I am new to the patching, wondering if someone could point me to a good way to apply a patch from this format? Thanks for the help!
#7
hey pauldawg - I'm a drupal newbie and haven't patched before either. I got it to work by taking the .zip file, extracting it, and uploading it to replace the original file in sites/all/modules/tinymce. Hope this helps!
I'm running Drupal 6.4, TinyMCE Version 3.2.0.1
#8
does this really work? ok, the toggle shows up, but when i set the "Default state" of "TinyMCE rich-text settings" to "disabled" and then enable the tinymce on demand, it only shows 6 Buttons at the bottom (Bold, Italic, Undo, Redo etc.), though i have way more buttons and i set it to appear on top.
and for some reason, i now even cant reproduce this, because the "Default state"-Setting is ignored (but thats maybe another problem).
edit:
after reading the other thread, i found this comment: http://drupal.org/node/244066#comment-828771 ("under the tinymce_config() function; and it says: $status = 'true';. So go ahead and remove that single line,"). This seems to help.