With the latest versions of everything the compressed version of tinymce works fine with img_assist module disabled, but if I enable it, then the "enable rich-text" link disappears from below my text areas. This is the case with the original tinymce.module and the patched version currently included with img_assist.

Comments

benshell’s picture

I haven't seen this problem... I'm no TinyMCE expert though. How can I be sure I'm using a compressed version of TinyMCE? I'm using 2.0.4.

BTW, last Friday I fixed a bug related to the textarea hook (which TinyMCE also uses). Is your copy of img_assist newer than Friday?

RayZ’s picture

Yes, I've got the latest ... I've been tracking it quite closely. About the compressed tinymce, here's straight from the tinymce INSTALL.txt ...

6. To boost the performance of TinyMCE, download the 
   "TinyMCE compressor" from

   http://tinymce.moxiecode.com/download.php

   Place the tiny_mce_gzip.php file in 
   
     modules/tinymce/tinymce/jscripts/tiny_mce

Make sure you're using the latest version of the compressor, which I believe is 1.0.7.

benshell’s picture

The problem was also just reported today at http://drupal.org/node/55560.

It looks like the compressed version of TinyMCE doesn't have all the same functions as the full JavaScript file. There's an error trying to call tinyMCE.getEditorId in tinymce.module. This function is currently called four times in tinymce.module (two of which are img_assist related).

I don't have the solution yet, but here's a temporary workaround: Turn off the "add image" link. In the img_assist settings, under "Access settings" set the "Textarea Image link" option to "Do not show a link".

If you're using TinyMCE you shouldn't need the "add image" link anyway. The "Add Image" link will not work with TinyMCE (it is only for plain textareas). You have to use the Drupalimage plugin to use img_assist with TinyMCE, and this seems to work with the compressed version of TinyMCE.

darren oh’s picture

Component: Code » TinyMCE Plugin (drupalimage)
darren oh’s picture

Version: 6.x-3.x-dev » 4.6.x-1.x-dev
sun’s picture

Status: Active » Closed (won't fix)

Sorry, 4.6 is dead. Please upgrade to 4.7 or 5.x.