EditorTextField how to format its content?

已回答

As the title suggests, I'm using EditorTextField as the editor component and have specified the Json type and the setText() method used to set the content, but I'm finding that I can't format it. Is it because I need to manually construct the Document object and call setDocument()?

1

Hi,

Did you try to create the document and call setDocument? Does the formatting work in this case? If not, please share your code.

0

请先登录再写评论。