JavaFX HTMLEditor - insert image function

I am using the integrated HTMLEditor JavaFX. All the functions that it has are great, but I also need the function of inserting the image inside the HTML text. Do you know any source that I could use? Or some other HTML editor (WYSIWYG) that you can use in JavaFX, and it has this feature? I can program this functionality myself in an existing JavaFX HTMLEditor, but I prefer to ask before starting to do something.

Thank you very much for your answers;)

+5
source share
1 answer

I would suggest just setting up an existing JavaFX HTMLEditor if it does most of the things you need, except for adding images and appearance, basically this is fine for you.

I created a code sample to help with some JavaFX HTMLEditor configuration tasks.

Another option with which you could play a very simple html editor is a WebView with contenteditable set to true. Although I have not tried this with images - perhaps it will work fine.

If the above options don't work for you, there are heaps of javascript based editors there.

+4
source

All Articles