Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which editor to use for rich text formatting (WYSIWYG) in an Eclipse RCP project?

Based on the following criteria, what editor do you suggest for rich text formatting (WYSIWYG) in an Eclipse RCP project? The must have list:

  • bullet-lists
  • bold formatting
  • font size
  • It should be as easy as possible to use the formatted text directly to generate a pdf with iText.

I guess html is the best way to that, right? So it would be great if the formatting information used by the editor already is in the html format.

like image 403
user880625 Avatar asked Oct 08 '22 05:10

user880625


1 Answers

I found no suitable plugin so i developed my own: LeetEdit

LeetEdit is an HTML editor for Eclipse RCP based on TinyMCE.

It's free (both EPL and LGPL) and you can fork it on github.com/TimPietrusky/LeetEdit

How to use

LeetEdit leetEdit = new LeetEdit(parent, SWT.NONE);

// Set text
leetEdit.setText("LeetEdit is kind of leet.");

// Get text
String text = leetEdit.getText();
like image 169
TimPietrusky Avatar answered Oct 12 '22 09:10

TimPietrusky