Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Upgrade TinyMCE?

Go to End

4 Posts   2444 Views


Community Member, 102 Posts

10 June 2010 at 8:14pm

Edited: 10/06/2010 8:14pm

SilverStripe 2.4 accesses the obsolete TinyMCE version 2 API which was dropped in TinyMCE 3.2.6 released 2009-08-19.

Has there been any work done to upgrade SS to use the TinyMCE version 3 API?

From the TinyMCE change log dated 2009-08-19
"Removed the compat2x plugin people should have upgraded to the 3.x API by now. 3.0 was released more then a year ago."

TinyMCE is continually patched to work around countless browser bugs...
...and fix a few of its own bugs of course. So it's really important that it can be upgraded easily in SilverStripe.

SilverStripe now has a really nice clean modular interface with TinyMCE, which *should* allow new TinyMCE versions to be swapped in. However, they do not work because SilverStripe uses the TinyMCE v2 compatibility layer that has gone in newer versions of TinyMCE.

Once SilverStripe is upgraded to use the v3 API, new versions *should* be able to be dropped in because the TinyMCE developers go to great lengths to make that interface back-compatible.


Forum Moderator, 5523 Posts

10 June 2010 at 9:11pm

Hm not sure whats happening here - would suggest that it has been updated to but that was done over a year ago. I think the upgrade for 2.4 was pushed back just 'in case' anything broke. I attempted to migrate to the jquery version ( but that was unsuccessful. We should upgrade to the latest (even the non jquery one) to keep up to date.


Community Member, 102 Posts

10 June 2010 at 9:55pm

>We should upgrade to the latest (even the non jquery one) to keep up to date.

I don't think it's important to have the latest version regardless, but it is important to have a stable version, and to have the option to upgrade quickly and easily if necessary.

What if there's an update to a popular browser tomorrow that fixes a bug that TinyMCE 'works around' and the editor is messed up. TinyMCE would be fixed in hours but we would be stuck.

Actually this has already happened (See the post I referenced above). That bug is not too severe but it illustrates the risk.

> ...would suggest that it has been updated to
Yes, SilverStripe 2.4 uses TinyMCE The TinyMCE version after that one, 3.2.5 is the last with the compat2x plugin, which was dropped in 3.2.6.

Interactions with the TinyMCE API are tagged with...

// NOTE: TinyMCE coupling

in LeftAndMain.js so someone has put thought into smoothing the upgrade path. Hopefully it will make switching to TinyMCE version 3 API easy :)


Community Member, 102 Posts

11 June 2010 at 5:51am

Not sure if this is the right approach but I took the liberty of opening a ticket: