<![CDATA[ [plugin] TinyMCE XHTML compatible media plugin mod - My Forums]]> https://forums.modx.com/thread/?thread=45819 <![CDATA[Re: [plugin] TinyMCE XHTML compatible media plugin mod]]> https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265272 sara Apr 11, 2007, 11:00 AM https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265272 <![CDATA[Re: [plugin] TinyMCE XHTML compatible media plugin mod]]> https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265271 )]]> rethrash Apr 11, 2007, 07:47 AM https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265271 <![CDATA[Re: [plugin] TinyMCE XHTML compatible media plugin mod]]> https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265270

Jeff]]>
Bravado Apr 10, 2007, 08:33 PM https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265270
<![CDATA[Re: [plugin] TinyMCE XHTML compatible media plugin mod]]> https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265269 rethrash Apr 09, 2007, 06:42 PM https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265269 <![CDATA[Re: [plugin] TinyMCE XHTML compatible media plugin mod]]> https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265268 ]]> Bravado Feb 19, 2007, 05:59 PM https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265268 <![CDATA[Re: [plugin] TinyMCE XHTML compatible media plugin mod]]> https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265267
I have updated to Modx 0.9.5 and now using TinyMCE as the document editor in the manager area. This does not seem to load in Internet Explorer 7. It worked fine in Internet Explorer 6 and works well in Firefox 2. Has anyone else experienced this, and how did you solve it?

Thanks in advance.

Ps More information about client pc
Windows XP pro with SP2
Internet Explorer 7]]>
shing Jan 22, 2007, 05:59 PM https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265267
<![CDATA[ [plugin] TinyMCE XHTML compatible media plugin mod]]> https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265266

Anyway I just modded TinyMCE media plugin to generate XHTML compatible output. As you may know [tt]<embed>[/tt] tag is W3C deprecated for XHTML therefore if you put any flash into your MODx site via media plugin then the page is not XHTML compliant anymore.


Hi,

Since I’m using TinyMCE within MODx, which is XHTML compatible CMS I found nasty annoying thing which is media plugin and <embed> tag which are not XHTML compatible. Reading lot of stuff how to make flash/etc. objects compatible I’ve made a final solution.

Here are the guidelines I’ve followed:
http://www.dgx.cz/trine/item/how-to-correctly-insert-a-flash-into-xhtml
http://alistapart.com/articles/flashsatay

I’m attaching patch for version 2.0.9 of plugins/media/editor_plugin_src.js

The code is tricky, mostly because IE ! (Using conditional comments) But still it is JS free and XHTML complaint.

I hope you will find this patch useful when making TinyMCE XHTML proof.

I hope TinyMCE authors will find this useful. Since MODx is supposed to be more XHTML compatible I hope you will too. Waiting for your comments...

P.S. You will find mod attached to this post. Expand it into: [tt]assets/plugins/tinymce/jscripts/tiny_mce/plugins/media[/tt]

Regards.]]>
OnO Jan 19, 2007, 07:26 AM https://forums.modx.com/thread/45819/plugin-tinymce-xhtml-compatible-media-plugin-mod#dis-post-265266