Skip to Main Content

How add image at the cursor position in the HtmlEditor in JavaFX

2849120Jan 29 2015 — edited Jan 29 2015

Hi guys, I know how to add text at the cursor position in the HtmlEditor, https://community.oracle.com/message/12486226#12486226  . How to add a image at the cursor position in the HtmlEditor.:

I know only this method:

this.setHTMLText(this.getHTMLText() + "<img src=" + URL + ">");

However, this method adds an image to the end.

Sorry for my english.

Post Details
Locked due to inactivity on Feb 26 2015
Added on Jan 29 2015
0 comments
488 views