开发者

Java WYSIWYG HTML editor [closed]

开发者 https://www.devze.com 2022-12-13 17:44 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_Go百科

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm working on a project and need a simple, free, Java HTML WYSIWYG editor. Can anyone point me in the right direction?.

It only has a small space to fit into, so something fairly simple would be best.


Ekit seems fairly light (160Ko in one jar, source and jar here)

Java WYSIWYG HTML editor [closed]


I was searching for the same stuff. Have a look at these two solutions:

  • SHEF(LGPL)
  • Sferyx HTML Editor (Commercial)

I've found another, very nice solution: Use a JFXPanel to incorporate the HTML WYSIWYG editor component that's included in the latest versions of JavaFX. This is the way i'll go.


If you need a good WYSIWYG HTML editor then I recommended JWebEngine. It is the only one that I know that pass the ACID1 browser test and the mail-acid test. The most other Java HTML editors based on the javax.swing.text.html.HTMLDocument and have all the same bugs. The support of CSS is very poor in the HTMLDocument. JWebEngine has a very good support for viewing HTML with CSS. But it is also compatible JEditorPane or JTextPane and you can use it together with third party tools like the spell checker JOrtho.


Have a look at Metaphase Editor. It's a WYSWIWYG HTML Editor component for Java and is licensed under LGPL. The binaries and sources are available at Project Kenai.


If it the editor should run in a browser then there is nothing to do with Java and you can use any of these:

  • TinyMCE
  • CKEditor
  • YUI Editor
  • jQuery WYSIWYG

but if you need to embed the HTML editor into a desktop app then you probably need to find the one you like and try which fits best.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号