Search...
text
Sets or gets the text part of the rich text element (without the link). Maximum length is 120,000 characters.
Type:
stringRead & Write
Was this helpful?
Get the rich text's text
Copy Code
1let myContent = $w("myRichText").text; // "Some text"
Set the rich text's text
Copy Code
1$w("#myRichText").text = "Some text";