Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaFX HTMLEditor - Insert image function

I'm using JavaFX integrated HTMLEditor. All the functions that it has are fine but I need to have also the function of inserting an image inside the HTML text. Do you know some source which I could use? Or some other HTML (WYSIWYG) editor that could be used inside JavaFX and it has this functionality ? I can program this functionality into the existing JavaFX HTMLEditor by myself, but I prefer to ask before I start doing something :)

Thank you very much for your answers ;)

like image 648
Reshi Avatar asked Jun 10 '12 10:06

Reshi


1 Answers

I'd advise just customizing the existing JavaFX HTMLEditor, if it does most things you need with the exception of adding images and the look and feel of it is basically ok for you.

I created a code sample to assist in some JavaFX HTMLEditor customization tasks.

Another option you could toy with for a very basic html editor is a WebView with contenteditable set to true. Though I haven't tried it with images - maybe it will work ok.

If the above options don't work for you there there are heaps of javascript based editors out there to choose from.

like image 158
jewelsea Avatar answered Oct 11 '22 15:10

jewelsea