Post by Zack_1 » Fri Mar 17, 2023 7:21 pm

Hi I have opencart 4.0.1.1 and I am not able to add a custom class in HTML content every time I add class the editor deletes the classes in my HTML

New member

Posts

Joined
Thu Oct 21, 2021 6:47 pm

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Zack_1 » Sat Mar 18, 2023 5:50 pm

Still not working

New member

Posts

Joined
Thu Oct 21, 2021 6:47 pm

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Zack_1 » Mon Mar 20, 2023 7:27 pm

Yes I try this in my config.js file but still when I write all the HTML CSS in source code and turn to view all the classes and custom CSS has gone

New member

Posts

Joined
Thu Oct 21, 2021 6:47 pm

Post by xxvirusxx » Tue Mar 21, 2023 3:25 pm

Still not work with ?

Code: Select all

config.htmlEncodeOutput = true;
config.allowedContent = true;

Attachments

ck2.png

ck2.png (15.49 KiB) Viewed 1509 times

ck1.png

ck1.png (8.71 KiB) Viewed 1509 times


Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Zack_1 » Wed Mar 22, 2023 5:31 pm

Thank you it works

New member

Posts

Joined
Thu Oct 21, 2021 6:47 pm
Who is online

Users browsing this forum: No registered users and 6 guests