Display pre-formatted text or HTML from a DB field

I have a field in the database that contains pre-formatted text (with line-endings) or HTML.

How to display it on a page to keep the formatting?

I suspect the Custom HTML component could be used for this, but I’m not clear on how to access the DB field data from it. Basically, how to reference the component’s parameters from the HTML component?

Hi :slight_smile:
In the prosperities of the textfield just change it’s type from ‘text’ to ‘rich text’

1 Like