I’ve created a Dataset in the Content Manager and added a Rich Text field. I’ve formatted the content in that Rich Text field as I need it, but I can’t see how to display it on a page in a Repeater. If I add a normal “Text” element, all text elements have a particular Theme style (like “Paragraph 2”). When I display my rich text inside of a text element, it overwrites the formatting in my Rich Text field and forces it all to the theme style.
How do you display Rich Text form a dataset on a page while preserving the format of the Rich Text?
Oops! How are you? To display Rich Text content using the Text element itself, declare $w(‘#textElement’) instead of using $w(‘#textElement’).text using $w(’ #textElement’).html .
// Text String
$w('#textElement').text = 'Text String'
// Rich Text
$w('#textElement').html = 'Rich Text Value'
@petekrueger@anye I tried on my end but wasn’t able to replicate this and the themes show as they were setup in the content manager. I have seen instances were the theme for the text has an asterisk, which means it needs to be reset