Joomla 3 can't add <script> to article

vladimir picture vladimir · Nov 10, 2014 · Viewed 12.3k times · Source

Joomla version: Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT

I want add js script to one my article. I'm using TinyMCE editor to edit article.

In TinyMCE plugin field Prohibited Elements I filled with dummy text, now it contains "cms123", I removed "script,applet,iframe".

I checked Global Configurations -> Text Filters for Super Users I have set it "No Filtering".

But when I'm trying to save my article with js code, joomla removes my tags <script> from my article, also I checked with <iframe>, joomla replaced this tag with <i-frame> tag... I'm really confused, I can't understand what is wrong.

Can anybody help me?

Thanks.

Answer

Shan Mugam picture Shan Mugam · Sep 16, 2015

Actually, i spent 4 hrs to find out this issue and got solution now. just login to administrator then go to System-->Global configuration, under that you will see "Site Settings", in that you will find-out "Default Editor", select as "Editor - CodeMirror" and save it. after that go to articles, then add your script. Enjoy :)