Ticket #14258 (new Bug)
TinyMCE broken in Plone 4.3.3
Reported by: | par117 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Visual Editor | Version: | 4.3 |
Keywords: | TinyMCE | Cc: |
Description
In upgrading an existing Plone site from 4.1.4 to 4.3.3 I discovered that TinyMCE would not render when editing a page of content.
The exact upgrade path was: 4.1.4 -> 4.1.6 -> 4.2 -> 4.2.5 -> 4.3.3
I verified that TinyMCE worked in 4.2.5.
All of the proper CSS classes and other data appeared to be present in the HTML and no javascript errors were reported when editing a page.
I created a new Plone site within the same Zope instance and TinyMCE functioned correctly. I installed all the same products from my existing site into this new site and TinyMCE continued to work correctly.
Finally, I compared the files in portal_javascripts between the two sites on the same instance and found the discrepancy.
From my upgraded site, I had the following 2 TinyMCE related javascript files:
- tiny_mce.js
- tiny_mce_init.js
In the new site, I had the following javascript files:
- jquery.tinymce.js
- tiny_mce_gzip.js
I updated the names of the javascript files in my upgraded site and that almost fixed the problem. It resulted in some errors which I tracked back to some custom plugins registered in the TinyMCE control panel (/portal_tinymce/@@tinymce-controlpanel). I had the following plugins:
- ploneimage
- plonelink
My new site only had: plonebrowser
After updating this entry, TinyMCE is again working in my upgraded site.
Sometimes when upgrading the version of TinyMCE, you have to manually run the upgrade steps. This is mentioned at http://plone.org/products/tinymce, "An upgrade step is also available through portal_setup if you are updating from an earlier version." I'm not sure if that is the issue here.