Why isn't RichText formatting in a plugin?

I’m working on my custom script editor plugin, and I wanted multicolored text. I figured out how to do so from another devforum post. BUT, when it formats inside the plugin, it just leaves the unformatted text even though the textbox is richtext enabled. The funny thing is that when I copy the unformatted text and paste into a richtext textbox, it formats just fine!

Please help!

1 Like

Richtext should work fine inside a plugin. As many plugins do use richtext. Try creating a TextLabel and setting the text to the richtext. And make sure TextLabel.RichText = true.

Try setting the Text to 'hello <font color="rgb(255,0,0)"> RED </font> text'

1 Like

That one did format, I’m not sure what I did wrong with mine though.
Do you know by chance?
'<font color= "rgb(255,0,0)">abcd</font>'
image

1 Like

OHH I figured it out, the decimal is too long.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.