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.
I anyone
my button bar don't wrap (on FF 3.0.6, Linux OpenSuse 11.0), I have installed on Drupal 5.16 Wysiwyg API 5.x-1.1 and TinyMCE 3.1.0.1 and gallery G2Image.
I have looked at this: TinyMCE: IE/Chrome: Buttons do not wrap and, reading the issue, looking at the code on the head of my page the javascript.
I found this: instead of the tinymce-3.js you can see:
<script src="/sites/www.mysite.it/modules/wysiwyg/editors/js/tinymce-2.js" type="text/javascript">
.
But in the Wysiwyg page settings the Full HTML Wysiwyg profile is set on TinyMCE 3.1.0.1.
Can you help me?
Thanks
Comments
Comment #1
sunThis is actually not possible. If you really have TinyMCE 3 installed, "3.x.x.x" would be displayed in the administrative wysiwyg profile overview, and "tinymce-3.js" would be loaded on edit forms.
Based on the markup you have pasted, it looks like you are running a multi-site setup?
Is it possible that you had TinyMCE 2 installed before and just switched the editor library? Did you test whether the proper JavaScript is loaded after removing and re-creating all wysiwyg profiles?
Comment #2
kikko CreditAttribution: kikko commentedHi Sun,
yes, is right: I have a multisite installation.
But I have installed the Wysiwyg API in the modules directory of the new site.
No, I didt't make an upgrade or a switch: this is a new site, the others 3 use the old TinyMCE module. And they also don't share the TinyMCE module, one for each site.
I did it because I have the Gallery module, with a Gallery multisite installation: each site have his own gallery.
But now I have got some problem in the other sites with the old TinyMCE module: I see now (during this writing): i can't load the administration page...
Try to change module in every site then I told you.
Thanks
Comment #3
kikko CreditAttribution: kikko commentedI have changed in another site of the multisite installation, and there is the same load. The differenze between the two istallation is that I haven't put the G2Image button. The button bar don't wrap, but you can see, Drupal load the "/sites/default/modules/wysiwyg/editors/js/tinymce-2.js" file.
Here the head of a node page:
If you neeed more information, here I am,
thanks
Comment #4
sunPlease paste the first 80 characters on the first line of /sites/default/modules/wysiwyg/tinymce/jscripts/tiny_mce/tiny_mce.js
Comment #5
kikko CreditAttribution: kikko commentedvar tinymce={majorVersion:'3',minorVersion:'1.0.1',releaseDate:'2008-06-18',_init:function()
Comment #6
sunI have identified the cause now.
Can you please do me a favor? :) Please open editors/tinymce.inc, edit line 43 and change
'3.2'
into'3.1'
.Afterwards, do some testing whether everything works without errors (loading the editor, switching input formats, using native external plugins, etc.) and report back whether we can support TinyMCE 3.1 as well.
Comment #7
kikko CreditAttribution: kikko commentedYou have hit the problem!!! Now everything is Ok.
I have made the change in two of my multisite installation: one, with the G2Image plugin work ok, the second, with native plugin, before the changes show the plugin bar on tree lines, now on two (I don't know if you need this information, but I give you), and work well.
I have disabled and enabled the rich-text and switched the imput formats. Everythings ok.
Great. Thanks a lot :-)
Comment #8
sunSo you did not update the TinyMCE editor library instead? I thought there was a reason why I defined 3.2 to be the minimum version of TinyMCE we can support, but if everything also works with 3.1, then this probably was a false assumption...?
Comment #9
kikko CreditAttribution: kikko commentedI make the upgrade now to the Tinymce 3.2. There is also an old version on my computer and I have uploaded the old one, instead the new one. Thanks a lot and sorry for all.
Comment #10
sun3.1 is supported now.