JavaFX中HTML编辑的选项 [英] Options for HTML editing in JavaFX

查看:148
本文介绍了JavaFX中HTML编辑的选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望将基于Swing的应用程序中使用的HTML编辑器替换为基于JavaFX的HTML编辑器.

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

据我所知,有两种可能的选择: 1)使用JavaFX HTML编辑器. 尽管这对所具有的功能来说是相当不错的,但它仍然缺少其他一些功能(例如,插入图像,插入表,操作图像或表等).我还希望包括其他功能,例如拼写检查和支持自定义标签的功能. 2)使用JavaFX WebView组件并使用嵌入式编辑器,例如TinyMCE.

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.

那么最好的选择是什么?是否有人增强了JavaFX HTML编辑器? 第二种选择是否有任何陷阱"? 我应该考虑第三种选择吗?

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?

推荐答案

定义最佳选择是一个无法回答的问题,因为这取决于手头的应用程序.

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

这篇关于JavaFX中HTML编辑的选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆