How to read and edit RTF ?

now I can read RTF and return a String 。
how show the String in cuba web?
textArea not show
this is code:

AccessRTF accessRTF=new AccessRTF();
String text=accessRTF.readRtf(new File("e:\\","1.rtf"));

the demand is show img in text
or not use RTF and use other method

Hello, @1105491633

Does your variable have a content from the 1.rtf file?

I can get something from 1.rtf and toString
but I don’t know how to edit and show

So, if you have a value from a file, you can set this value to TextArea and manipulate it.

Or some other problems exist?