DWC: Can I use CSS classes in my Campaign based Dynamic Web Content components?

Your software
My Mautic version is: 2.16.1
My PHP version is: 7.2

Your problem/question
My problem is: When I add HTML with CSS classes to the DWC they get replaced with ‘fr-original-class’ and therefore the style is not applied.

These errors are showing in the log:

Steps I have tried to fix the problem:

Original HTML

Resulting HTML

Can I somehow keep the classes?


1 Like

I have the same issue, unsure how to keep original formatting and it’s very annoying.