Tuesday, January 24, 2012

Rich Text Editor for Eclipse/SWT

I have been looking around, but a feasible Rich Text Editor for SWT seems to be hard to find.

Edit: 2013/06/15: As of today you should look at the eclipsesource example for RAP 2.0. It should give you a good starting point. https://github.com/eclipsesource/rap-ckeditor

Followup from 2012/3/12: I just modified the ckeditor example from https://github.com/beyhan/rap-ckeditor
to include a server-side ready and dirty event. That's all I need.


Elvis Dominguez said...

Hi have implemented the fckeditor too. and plays really nice.

Robert Munteanu said...

There's also a browser-based text editor in the Mylyn Docs project, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=319018 for the initial contribution .

Kris Hofmans said...

This is actually quite sad ... still no rich text editor support in SWT.

I had a usecase for this in 2006 and I even believe I was using the same workaround back then.

Someone should really implement a native one.

Eric Rizzo said...

The EPF project has a RichText editor feature that you can incorporate into SWT/RCP apps. The bad news is that it's only available for Windows and Linux.
See this page: http://www.eclipse.org/epf/downloads/tool/epf1.5.0_downloads.php (scroll down near the bottom to the "Downloads" section where you can download the feature by itself without the rest of EPF Composer).

David Green said...

You might want to take a look at VEX, which provides a rich text editor based on a DTD and CSS http://www.eclipse.org/vex/

alex said...


we worked on an evolution of the styledText component that allows you to create a native rich text editor (we have used it to create an editor with styles, zoom, pages, printing, etc.. in our app)

check it out: