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 comment


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


Please sign in to leave a comment.