Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I'm trying to use the module I get this JavaScript error:
tinyMCE is not defined
Source File: http://localhost/sites/all/modules/wysiwyg/wysiwyg_editor.js
The error occurs in line 14 and 28.
I've put tinymce in this folder:
sites/all/modules/wysiwyg/tinymce/
So the path to tiny_mce.js is
sites/all/modules/wysiwyg/tinymce/jscripts/tiny_mce/tiny_mce.js
Any ideas what I'm doing wrong?
Comments
Comment #1
sunPlease update to the current development snapshot and report back if it works for you then.
Comment #2
sunAlso, please note that there is not yet support for TinyMCE's gzip compressor - see #276465: Add support for TinyMCE gzip compressor for further information. If you have gzip compressor installed, simply rename or remove it, and close this issue afterwards, please.
Comment #3
thulstrup CreditAttribution: thulstrup commentedThanks sun, that solved the problem.
Comment #4
nrasmus CreditAttribution: nrasmus commentedIf the gzip compressor is not supported, you may want to remove the instructions to install it from the README.
Comment #5
sunUgh. Thanks! I totally forgot that it was mentioned there.
Comment #6
rick.archibald CreditAttribution: rick.archibald commentedI was having problems with the tinymce project, so I decided to try out the wysiwyg module. It took me a couple hours to find out why the module didn't work. After removing the gzip compressor, TinyMCE appears to be working. Removing this ASAP from the README.txt would be greatly appreciated. Might also help to have it noted on the project page.
Comment #7
steveoliver CreditAttribution: steveoliver commentedThis screwed with me for a while, too.
Comment #8
sunThanks, I have updated the project description now.
Comment #9
webstylemedia CreditAttribution: webstylemedia commentedHey!
Please add a note to readme that compressor doesn't work.
Spent several hours to find it out.
Thanks.