How to Stop Cleaning HTML and Scripts Code in Joomla?

Everyone face the problem when you add the code (adsense for example) in the module/article and after saving, it don’t work. You go to the code and see that some html tags have been deleted. Why is it happening? Because of Joomla html filters and WYSIWYG html editor. Some functions, that are deleting not typical code, are integrated into Joomla and implemented in html filters. That filters are prevent the danger of third party intervention through the unknown html tags. In other words Joomla сares about the safety of your site. The same thing is with WYSIWYG editor, it deletes not typical tags, such as <iframe>, though you can’t add video from online video services or flash video. So to know how to stop cleaning HTML and scripts code in Joomla read the information below:

Log into Joomla

Log into your Joomla website admin area.

How to disable Joomla WYSIWYG html editor and filters. log in

You can enable or disable text filters for each of group users to prevent danger code pasting on your website.

Enter Text filters

Go to System => Global Configuration => Text filters

How to disable Joomla WYSIWYG html editor and filters. Text Filters.

Enable Text filters

Choose No filtering from the list of text filter for a needed User group (for example Administrator).

How to disable Joomla WYSIWYG html editor and filters. No Filtering.

If you use one of the WYSIWYG text editor, in our example TinyMCE, you have to clear tags, that you want to use (<iframe> for example) from the list of Prohibited Elements, or allow to use all tags.

Enter TyniMCE options

Go to Extension => Plug-in Manager, there find TyniMCE text editor

How to disable Joomla WYSIWYG html editor and filters. Plugin Manager.

Change Functionality field

Change Functionality field into Extended

How to disable Joomla WYSIWYG html editor and filters. Extended.

Change Prohibited Elements field

Simple delete needed tags from that field, or just enter empty word to allow using all tags. And don’t forget to save.

How to disable Joomla WYSIWYG html editor and filters. Prohibited elements - empty

After doing this steps all must be fine and now you can add your HTML text and no HTML editor and Joomla text editor wouldn't disturb you. Find more tips and tricks on Joomla tutorials section.