I just tried the edit richtext property example. It seems that the switch between plain text and rich text does not work.
The window creation is missing in the given example: [Login to see the link]
local win = ui.Window("Edit.richtext sample", "fixed", 400, 260)
Can you have a look if the right text is in the right place?