HTML being stripped out in TinyMCE and JCE

Elegant Joomla template designed especially for both professional and personal website presentation.
GK User
Wed Aug 24, 2011 3:12 pm
I have installed both the quickstart and the fresh install of Postnote and seem to be having the same problem on both. If i try to put any html code into either JCE or TinyMCE (in a custom HTML module) and go back to WYSIWYG mode it strips out most of the code. I have updated the template to version 2.0, turned of the typography plugin (suggested on another post), all my priviledges are set to superadmin in the ACL, and i'v tried a whole bunch of other things but nothing stops the code being stripped out.

The code im trying to use is only divs, ul's and li's but it just leaves me with the divs after going back to WYSIWYG.

The only thing that DOES work is if i use CODEmirror

I do have a test site up at http://cts.flux3.com which still has the older version of the template but this shouldn't matter as the problem is the same in the updated template (2.0) also.

Please help :S
Edit: forgot to mention im using J! 1.7 version
User avatar
Junior Boarder

GK User
Wed Aug 24, 2011 4:30 pm
OK, im not sure if this is a solution or a work around but, if you type the code straight into the WYSIWYG's code editor then it should be OK.

In short if you want to paste code straight into the code editor make sure after you do so that you tweak something in WYSIWYG mode before you return to code mode otherwise the code will be stripped out.

Im off to see if this happens on a naked install of Joomla! 1.7
User avatar
Junior Boarder

GK User
Wed Aug 24, 2011 4:55 pm
OK to conclude

The problem isnt with Gavick templates, its a quirk in Joomla HTML editor.

You can paste code in as long as it has some content.
The code i was trying to paste in was an unordered list in which each <li> item only had a background image set using CSS sprites. I assume Joomla! thought this was empty content and so stripped it out.

TODAY I HAVE LEARNT SOMETHING NEW
User avatar
Junior Boarder


cron