Defining a best option is an unanswerable question as that would depend on the application at hand.
For related info see:
- How to hide the controls of HTMLEditor?
- JavaFX HTMLEditor - Insert image function
- Set a local image in JavaFX HTMLeditor
- HtmlEditorCustomizationSample
- Discussion on pros and cons of HtmlEditor customization
- Webview with contenteditable cannot be focused programmatically
- Embedding a 3rd party editor JavaScript based editor in WebView
- Create table in HtmlEditor