I have the following problem with TinyMCE in a Plone instance.
When TinyMCE is being used, all actions that need a popup (insert link, insert image etc.) are now opening in a separate browser window, instead of in TinyMCE's own popup overlay.
This breaks TinyMCE functionality, because jquery cannot be found:
Uncaught TypeError: jq is not a function
at BrowserDialog.init (plonebrowser.js:66)
My user says this problem started after enabling 'undo/redo' in the TinyMCE configuration. However, I cannot reproduce this. Disabling 'undo/redo' did not help.
To answer my own question. It seems that my user broke the portal.
Luckily, portal_tinymce has an "undo" option. After undo-ing the changes, everthing was back to normal.
When i compare the settings (in the data-mce-config attribute in a tinymce page) it seems that in the broken version a lot of plugins are missing. It seems that my user removed all the tinymce plugins, resulting in a broken editor.
It seems that removal of the plugins from the tinyMCE config. was done inadvertently, because of a bug in Products.TinyMCE when using Internet Explorer 11. I added an issue for it: https://github.com/plone/Products.TinyMCE/issues/159
I've seen this before, it could be this problem with IE11 and the order/selectwidget of z3c.form used for the plugins on the TinyMCE controlpanel. This is the only place in 'core' Plone 4 where the widget is used. Later Plone minor updates should have fixed this with a newer pin for z3c.form. Found it, 3.2.9 contains the fix:
Change javascript for updating ordered select widget hidden structure so it works again on IE11 and doesn’t send back an empty list that deletes all selections on save. Fixes https://github.com/zopefoundation/z3c.form/issues/23 [fredvd]