Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A RichText widget for RAP based on CKEditor

This branch is 0 commits ahead and 0 commits behind master

Move code to eclipse.org

Transfer code from branch eclipse.org-migration and tag ECLIPSE.ORG-withoutJasmine to eclipse.org
latest commit e9e2265cb7
Markus Knauer mknauer authored
Octocat-spinner-32 com.eclipsesource.widgets.ckeditor.demo Minor styling changes
Octocat-spinner-32 com.eclipsesource.widgets.ckeditor.test Use mockito-all
Octocat-spinner-32 com.eclipsesource.widgets.ckeditor Minor styling changes
Octocat-spinner-32 org.eclipse.rap.demo.ckeditor Adjust to RemoteObject changes in RAP 2.1
Octocat-spinner-32 .gitignore Add target directory to gitignore
Octocat-spinner-32 README.md Move code to eclipse.org
README.md

CKEditor for RAP

Important Notice: As of 2013-11-08 the code and the development have been transferred to eclipse.org.

The code is now available from the RAP Incubator project at http://www.eclipse.org/rap/incubator/

The new Git repository can be found at http://git.eclipse.org/c/rap/incubator/org.eclipse.rap.incubator.richtext.git/

This is a custom widget for the Remote Application Platform (RAP) that wraps the CKEditor, a web-based WYSIWYG/Rich-Text editor. This version is based on the remote API that has been added in RAP 2.0. If you wish to run it with RAP 1.5, check out the "streams/1.5" branch.

API

Currently, the API consists of the two methods getText and setText. The text can be any valid HTML, but should be limited to the subset the editor can handle.

Customization

The editor can be customized by editing the files in the src/resources folder of the com.eclipsesource.widgets.ckeditor bundle. You might need to clear the browsers cache and restart the server for all changes to take effect.

Editor Configuration

Editing the file config.js lets you change the toolbar, language, and formatting options (fonts, colors). Be careful, all changes here bear the risk of breaking the editor.

Editor Theming

To change the icons, edit or replace icons.png. To change the editors colors, borders, spacings, etc, edit editor.css. You can use a tool like Firebug to examine which CSS classes are used where in the editor.

Advanced Customization

For various reasions some plugins have been removed from ckeditor.js and disabled in config.js, therefore not all options of the full CKEdtior are working. If you wish, you can compile your own ckeditor.js. Get more info here: http://docs.cksource.com/CKEditor_3.x/Developers_Guide/CKPackager The ckeditor.pack used for this project can be found in the bundles docs folder.

Bundle overview

com.eclipsesource.widgets.ckeditor

The Widget itself (com.eclipsesource.widgets.ckeditor.CKEditor) and the required resources.

com.eclipsesource.widgets.ckeditor.demo

A demo application for the widget. Contains a launch configuration.

org.eclipse.rap.demo.ckeditor.

An addition to the RAP Examples Demo.

com.eclipsesource.widgets.ckeditor.test

JUnit an Jasmine Tests.

Legal

=== License ===

All classes are published under the terms of the Eclipse Public License v1.0

Something went wrong with that request. Please try again.