Page 1 of 1

HTML module removes any custom html or CSS

Posted: Mon Mar 14, 2016 8:25 pm
by wonderland
Hello,

I was very happy when I saw that I can add custom HTML with module. But unfortunately it seems that every custom css or html that I add, gets removed after saving.

I wanted to wrap a section in div tag and add class to it, but it gets removed and replaced with p tag. Is there any way to prevent HTML module from stripping away all custom tags?

Re: HTML module removes any custom html or CSS

Posted: Mon Mar 14, 2016 8:41 pm
by ocart777
i would think you'll need to edit this way
Clipboard02.jpg

Clipboard02.jpg (19.62 KiB) Viewed 2058 times


Re: HTML module removes any custom html or CSS

Posted: Mon Mar 14, 2016 8:45 pm
by wonderland
Thank you for replying.

That is exactly what I was doing, trying to add some divs and classes via code view. But it all gets replaced with p tags and classes do get removed.

I'm also on fresh OC v2.2.0, although my editor does look a little bit different.


Edit: ok, I found the problem, I was pressing save while in code view. I must exit code view, then save.

Re: HTML module removes any custom html or CSS

Posted: Mon Mar 14, 2016 8:58 pm
by ocart777
mine was 2.1.0.2..btw for v2.2 that will consider as a bug if not cause by custom mods, lets hope they fixed that soon

Re: HTML module removes any custom html or CSS

Posted: Mon Mar 14, 2016 9:20 pm
by wonderland
I have 0 mods installed at the moment.