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

sun’s picture

Please update to the current development snapshot and report back if it works for you then.

sun’s picture

Also, 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.

thulstrup’s picture

Status: Active » Closed (fixed)

Thanks sun, that solved the problem.

nrasmus’s picture

If the gzip compressor is not supported, you may want to remove the instructions to install it from the README.

sun’s picture

Ugh. Thanks! I totally forgot that it was mentioned there.

rick.archibald’s picture

I 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.

steveoliver’s picture

This screwed with me for a while, too.

sun’s picture

Thanks, I have updated the project description now.

webstylemedia’s picture

Hey!

Please add a note to readme that compressor doesn't work.

Spent several hours to find it out.

Thanks.