Just spent all day trying to solve the mystery of why the Media Embed editor button which comes shipped with the JCK Editor works fine in an article, but not when I’m using theĀ sameĀ editor for an event. BTW, this is nothing to do with HTML filtering in Joomla; the code never even gets entered into the page!
Long story short.. it turns out that this version doesn’t cope with having two instances of a JCK editor on the same page. One is fine, two is overload.
I found the author of the plugin has corrected this and uploaded a revised version to Github. I just replaced the code in /plugins/editors/jckeditor/plugins/MediaEmbed/plugin.js with the new code from Github, and hey presto, it works!
On to the next website bug…

I’ve tested my code in latest release versions of IE, Opera and FireFox and there is no problem. The only one thing I found is that there is an error if script shows a hidden div (and executes the function which enables the editor) before the FCKEditor is loaded. I present here the solution of this bug. I hope all people will understand how it works so I don’t have to describe it.
I rellay wish there were more articles like this on the web.