Forum Stats

  • 3,871,982 Users
  • 2,266,360 Discussions
  • 7,911,018 Comments

Discussions

Using the HTML editor to design e-mails, what about css?

Paul Jorstad
Paul Jorstad Member Posts: 74 Blue Ribbon
edited Sep 9, 2021 8:48AM in APEX Discussions

I'm trying out the HTML editor in Apex to be used for e-mails. It works quite good for simple html, but it misses the css classes used in the generated HTML. For example.

<mark class="pen-red">Something in RED</mark>

...will not show up in red in the e-mail client beacause it doesn't know about the "pen-red" class.

In general only in-line css sould be used for HTML e-mails. So - is there a way to convert the Apex generated HTML to 100% inlined HTML?

I've tested a plug-in; https://apex.world/ords/f?p=100:710:14762323761351::::P710_PLG_ID:COM.FOS.CKEDITOR4, which generates only in-line styles (plain html) which shows fine in e-mail clients. But in general, I want to use standard Apex items.

Apex 21.1

Tagged: