Tuesday, January 24, 2012

Richt Text Editor for Eclipse/SWT

I have been looking around, but a feasible Rich Text Editor for SWT seems to be hard to find. I finally came accross the FCKEditor integration from the JFire/Nightlabs guys. They do not promote it, but it works fine for me. I had to grab some dependencies from different repos at nightlabs and make some hacks to make it play nice with the Rest of my app, but it looks stable and works on all platforms (some other editor needs a xulrunner, thats still messy on 64bit platforms) as it uses the Browser widget to render FCKEditor.


Customized FCKEditor in an eclipse e4 RCP app.

4 Kommentare:

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).