Swoop
Swoop

Reputation: 19

Java SWT WYSIWYG HTML Editor

I search for a WYSIWYG HTML Editor. I will use it in an existing project to generate HTML code. So the user should insert and style the code in the editor. If the user save or push a button I will get the HTML code and save it in a Database.

Has anybody an idea for a widget with these features?

Upvotes: 1

Views: 2383

Answers (4)

flavio.donze
flavio.donze

Reputation: 8100

The Eclipse EPF project provides a RichtText Editor:

EPF Richtext Feature - can be downloaded at the bottom:
https://www.eclipse.org/epf/downloads/tool/epf1.5.0_downloads.php API
https://www.eclipse.org/epf/composer_javadoc/org/eclipse/epf/richtext/package-summary.html

But seems like this requires a complete Eclipse RCP application not only SWT, but maybe an option.

Upvotes: 0

Anas R.
Anas R.

Reputation: 367

Under Linux there're two editors:

  • GWrite: GTK+/Webkit-based
  • KompoZer: Mozilla geco-based

Unfortunately, both of them are not mature enough.

Upvotes: 1

Tom Seidel
Tom Seidel

Reputation: 9535

The Mylyn Docs project has a WYSIWYG editor, for an example usage see the attachment of this bug

Upvotes: 1

Puce
Puce

Reputation: 38132

If JavaFX is an option: it provides a HTML editor, which can be embedded into SWT applications:

http://docs.oracle.com/javafx/2.0/api/javafx/scene/web/package-summary.html

http://docs.oracle.com/javafx/2.0/api/javafx/embed/swt/FXCanvas.html

Upvotes: 0

Related Questions