5

I'm looking to replace an HTML editor used within a Swing based application with one based on JavaFX.

As far as I can see, there are two possible options: 1) Use the JavaFX HTML editor. While this is quite nice for the features it does have, it is still lacking several other features (e.g. insert an image, insert a table, manipulate the image or table, etc.). I am also looking to include other features such as spellcheck and the ability to support custom tags. 2) Use the JavaFX WebView component and use an embedded editor such as TinyMCE.

So what would be the best option? Has anyone enhanced the JavaFX HTML editor? Are there any "gotchas" with going with the second option? Is there a third option I should consider?

Avrom
  • 4,967
  • 2
  • 28
  • 35
  • Are you table to ditch HTML and use a markdown editor? This is suprisingly simple. HTML editors are just horrid, even the good ones. Try cut and pasting from a word doc and then attempt to get uniform styling. – Andy Till Apr 10 '13 at 20:04
  • I don't have the option for ditching HTML. – Avrom Apr 11 '13 at 15:00

1 Answers1

5

Defining a best option is an unanswerable question as that would depend on the application at hand.

For related info see:

Community
  • 1
  • 1
jewelsea
  • 150,031
  • 14
  • 366
  • 406
  • Thanks Jewelsea. I had already looked at most of your links before posting this including your sample code for modifying the HTML editor toolbar. My main issue here is that I would personally prefer the JavaFX HTML editor but it is lacking several features so I'd have to implement it myself, assuming no one else has already. TinyMCE (or equiv.) already has most of the features I need but I'm worried about unforeseen "gotchas". – Avrom Apr 11 '13 at 14:59