RichTextArea without Toolbar possilbe?

Hello friends,

i wish to hide the toolbar on the RichTextArea and have nothing with text edit. I need only to display the “rich” text elements.

Is it possibe do it?

If you just need to display it, then it’s just plain old HTML which can easily be displayed in a Label.

Just config the label so it’s content is HTML with:

myLabel.setContentMode(Label.CONTENT_XHTML);

Or you can just make the richtextarea readonly by calling RichTextArea.setReadOnly(true)

Thanks, that works very pretty:-) I’m found
other possible problem decision
by using CSS-Style set, but the readonly-solution imho better:)

Thank you! But i can use only gui elements, that inherit from Field class, that no have that specific label-method:):)

In that case, you could also wrap the Label in a
CustomField
.