Reputation: 19
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
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
Reputation: 367
Under Linux there're two editors:
Unfortunately, both of them are not mature enough.
Upvotes: 1
Reputation: 9535
The Mylyn Docs project has a WYSIWYG editor, for an example usage see the attachment of this bug
Upvotes: 1
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