Expand my Community achievements bar.

Join us LIVE in San Francisco on November 14th for Experience Makers The Skill Exchange. Don't miss out on this free learning event!
SOLVED

Retaining "Text with Formatting" field formatting in Email module

Avatar

Level 10

Has anyone managed to keep the formatting (like bullets and numbers) from a “text with formatting” field when it’s transferred into the body of an email module?

 

I am returning the below when the email has been sent. I am using the HTML content type option.

 

Screenshot 2024-10-14 at 2.46.53 PM.png

 

Our team wants to bullet or number key information and ensure that this formatting is preserved when it appears in the email.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Throwing out a workaround for others that may need formatting in their email.

 

I reverted back to using a paragraph field. Within the email module content area, I used the <pre></pre> html tags around the field to be able to retain formatting from the paragraph field.

 

Screenshot 2024-10-15 at 9.02.46 AM.png

 

After doing a few quick tests, numbering and lettering seems to be the cleanest and most organized compared to copied and pasted in bullets.

 

 

Screenshot 2024-10-15 at 9.03.59 AM.png

View solution in original post

5 Replies

Avatar

Level 3

@Kiersten_K 
you'll need to find out what the email module accepts as format. I'm almost certain it's not the JSON from the RTF field. 

Avatar

Community Advisor

 

Ehm...breaking it to you gently @Kiersten_K,

 

The GOOD: We hit a similar request a couple of years ago when we added the ability to interpret the "block" format shown above and honor it as intended (i.e. with bullets, italics, etc.) in our Magic Reports solutions, but

 

The BAD: Although well structured, the block format did not appear (at least last at that time) to have any translation libraries available (at all...let alone Fusion specific), so

 

The UGLY: we wrote our own, as I'd expect you'd need to do, too

 

Regards,

Doug 

Avatar

Correct answer by
Level 10

Throwing out a workaround for others that may need formatting in their email.

 

I reverted back to using a paragraph field. Within the email module content area, I used the <pre></pre> html tags around the field to be able to retain formatting from the paragraph field.

 

Screenshot 2024-10-15 at 9.02.46 AM.png

 

After doing a few quick tests, numbering and lettering seems to be the cleanest and most organized compared to copied and pasted in bullets.

 

 

Screenshot 2024-10-15 at 9.03.59 AM.png

Avatar

Community Advisor

 

Inspired, @Kiersten_K!

 

I'm pleased you found an adequate workaround.

 

Regards,

Doug