r/JavaFX • • Jul 02 '23

Help Rich Text Editor

Is there any Rich text editor library in javaFX ?

1 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Nate-Austin Feb 25 '24

I am using the gluon rich text area in my project but when I change the document the view doesn't update in the GUI. do you happen to know of any way I can begin searching for answers as to why this doesn't happen? their documentation doesn't really mention anything about changing a document while the application is running.

1

u/taranion Apr 22 '24

I am having the same issue. Calling setDocument(..) on a RichTextArea doesn't have any effect, if done later in a "Platform.runLater()" context

1

u/Nate-Austin Apr 22 '24

I had to settle for a pretty crappy workaround to solve this.

I Just created an entirely new instance do the RichTextArea and followed that by removing and the re-adding it to the collection of visible nodes