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)
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)
AttachmentSize
ToggleTinyMCE.patch3.14 KB
TinymceModuleFile.zip7.98 KB

#1

biggena - July 20, 2008 - 12:37

Just after I posted this patch, I found that another developer has fixed the same problem:
http://drupal.org/node/244066

#2

attheshow - September 15, 2008 - 17:20

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

subhacom - September 17, 2008 - 11:43

Thanks, it works. But when I choose preview in blog, two entries for the toggle appear.

#4

Babalu - September 19, 2008 - 08:38

Thx

#5

littleneo - September 22, 2008 - 10:38

great ! thanks !
work with the last TinyMCE Version 3.2.0.1 (2008-09-17)

#6

pauldawg - September 29, 2008 - 05:39

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

trailbosswillie - October 1, 2008 - 19:05

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

thereloaded - October 3, 2008 - 19:40

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.

 
 

Drupal is a registered trademark of Dries Buytaert.