EditorTextField how to format its content?

Answered

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
1 comment

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

Please sign in to leave a comment.