Post by wonderland » Mon Mar 14, 2016 8:25 pm

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?

New member

Posts

Joined
Wed Jun 15, 2011 8:25 pm

Post by ocart777 » Mon Mar 14, 2016 8:41 pm

i would think you'll need to edit this way
Clipboard02.jpg

Clipboard02.jpg (19.62 KiB) Viewed 1378 times


You can't control the weather, but you can change your mood.
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.


OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE


User avatar
Active Member

Posts

Joined
Mon Jun 10, 2013 4:57 pm
Location - Malaysia

Post by wonderland » Mon Mar 14, 2016 8:45 pm

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.

New member

Posts

Joined
Wed Jun 15, 2011 8:25 pm

Post by ocart777 » Mon Mar 14, 2016 8:58 pm

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

You can't control the weather, but you can change your mood.
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.


OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE


User avatar
Active Member

Posts

Joined
Mon Jun 10, 2013 4:57 pm
Location - Malaysia

Post by wonderland » Mon Mar 14, 2016 9:20 pm

I have 0 mods installed at the moment.

New member

Posts

Joined
Wed Jun 15, 2011 8:25 pm
Who is online

Users browsing this forum: No registered users and 12 guests