Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I disable TinyMCE from stripping/modifying my HTML in Joomla?

I've got a site running Joomla with TinyMCE set as the editor. One of the sites editors is now trying to embed a media player into an article but TinyMCE keeps messing up the HTML.

I've tried setting the Extended Valid Elements, in the plugin config, to *[*] to allow anything and everything but it's not working.

What I'd like is to disable the code stripping "feature" from TinyMCE all together. I don't want it trying to validate my HTML or anything like that.

How can I disable the code stripping?

like image 624
dave Avatar asked Jun 10 '11 02:06

dave


1 Answers

If all else fails, you can turn off all of the editors in Joomla:

Go to: extensions (Should be on the top tab control) Click: Plug-in Manager.
This will take you to a list of all of Joomla's plugins. Disable any plugins that start with "-editor".

This should leave you with plain-text editor which edits and saves Html without regard for what's in it. If you can find a better solution, use that but this worked when everything else failed for me.

like image 163
Ian Avatar answered Sep 22 '22 13:09

Ian