Reputation: 7857
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?
Upvotes: 8
Views: 27172
Reputation: 21
In Joomla 2.5, go to plug-in manager > Editor - TinyMCE
.
In the basic options, juste remove iframe
from the Prohibited Elements.
Upvotes: 0
Reputation: 31
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.
Upvotes: 2
Reputation: 1640
Note:This works in 2.5 using JCE Editor (not sure 1.5)
Go to ...administrator>Global Configuration>Text Filters... Now set no filtering on those permission levels you choose. Not your public levels to protect security. I can do this after updating to JCE and dropping TinyMCE.
I use the free JCE editor (under Components tab once installed), you can customize it much better with many added features OR un-customize it as needed many times.
Upvotes: 0