Can anyone confirm whether they've gotten this combination working? (editor isn't showing up with firefox 2 and I want to confirm that I'm not crazy).

Thanks,
Mike

CommentFileSizeAuthor
#5 wysiwyg-HEAD.tinymce-version.patch1.33 KBsun
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Component: User interface » Editor - TinyMCE

Hm. I've only tested FF3 so far. Do you get any JS errors (don't look at Firebug's console; use Firefox' error console)? Did you test whether the editor shows up after disabling all but 2-3 simple buttons (bold, italic, etc.)?

mpaler’s picture

Yeah...I didn't see any buttons even with a simple editor profile. I did see the editor on Safari however.

I'm all messed up right now though.

I installed WysiwygAPI 6.x-1.x-dev and installed TinyMCE 3.2.1 --- the editor didn't come up, so then I swopped out 3.2.1 with 2.3 (or whatever the latest 2 version was). However, Wysiwyg API still showed tinymce 3.2.1 from the dropdown!

I decided to uninstall wysiwgyAPI and reinstall 6.x-0.4. with Tinymce 2.3. It still shows 3.2.1 from the drop down. ANd isn't coming up on any text areas. I'm kinda going nuts.

I really want to start from scratch but I can't re-install my whole installation because there's other work on there.

ei yi yi :(

mpaler’s picture

That was all pretty winey. Sorry about that...

What I'm trying to do is install TinyMCE in D6.x along with the image assist functionality in the tool bar. I guess I'm confused as to which version of WysiwygAPI to use, which version of TinyMCE, and which version of Image assist.

sun’s picture

Oh! Image Assist currently supports TinyMCE 2 only. So if you want to use Image Assist, you should use TinyMCE 2. It's perfectly fine to use Wysiwyg's latest development snapshot. Regarding Image Assist, only 2.x has built-in support for Wysiwyg API, so you probably also want to use the latest development snapshot of Image Assist 2.x.

If Wysiwyg API still shows another version, please ensure that you completely replaced the "tinymce" folder in the module's folder. If you just overwrite the 3.x version with the 2.x version, stale files from TinyMCE 3.x are left in the folder, and Wysiwyg API's version detection may not find the proper files.

It is perfectly okay to have the unused editor version in a folder with a different name, f.e.

/wysiwyg/tinymce = Version used by Wysiwyg API, in your case, and for IA compatibility, TinyMCE 2.1.3
/wysiwyg/tinymce3 = TinyMCE 3.x, unused.

Hence, switching the editor to another version is as simple as renaming those two folders. However, since IA is not yet compatible to 3.x, it will break the whole editor and prevent it from showing up.

sun’s picture

Status: Active » Needs review
FileSize
1.33 KB

Attached patch should detect the correct version even if two versions of TinyMCE were merged into one folder. Works for me - can you confirm?

mpaler’s picture

Sun,

Thanks so much for the quick reply...

I've been under a time crunch so I decided to go with IMCE and that seems to be working fine right now.

Thanks again for your generous contributions to the D community!

Michael

sun’s picture

Sorry, could you please elaborate a bit more on the state of this issue? Is TinyMCE 2 or 3 working for you now in FF2? Did you test the patch?

mpaler’s picture

Hi Sun,

I just applied your patch and Wysiwyg works as you describe.

Put Tinymce 2 & Tinymce 3 folders in Wysiwyg directory.
Name one "tinymce" and wysiwyg recognizes that version of tinymce.

Change name on directory, ie change "tinymce" to "tinymce2" and chance "tinymce3" to "tinymce" and wysiwyg recognizes tinymce 3.

Thanks,
Michael

sun’s picture

Status: Needs review » Fixed

Well, this patch should actually ensure that the proper editor version is detected even if two versions of TinyMCE were merged into one folder (as it seemed to be the case in your original post).

Anyway, since it works, I've committed this patch to all branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.