Why won't the text format?

I’m trying to italicize certain parts of a dataset. I set the column to rich text, and italicized part of the word, but when I close the rich text editor the word looks the same as it did before. Why is this happening?

HI Mica :raised_hand_with_fingers_splayed:

The database cells show only regular format text from the outside, you need to select each cell in order to see the actual format of the rich text cell.

Also, if you want to get the text formatted on your website, you need to use the html property, not the text property.

Right way to get the text format.

let value = $w("#textElement").html

Wrong way:

let value = $w("#textElement").text

Hope this helps~!
Ahmad

Hi Ahmad! To clarify, the cells aren’t showing up in italics on the actual website, even though they appear to have italics when I select them. (Yes, I have synced, saved, and published).

Sorry for the late reply Mica, the answer above was updated.