Rich text displayed from database

Use the .html property instead of the .text property

// This will display properly as rich text format
$w('#textElement').html = "<p>This is <b>bold</b></p>"    
        This is bold
// This will display as plain text html
$w('#textElement').text = "<p>This is <b>bold</b></p>"    
        <p>This is <b>bold</b></p>
1 Like