Message-ID: <146183989.7389.1409386738148.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_7388_1748584512.1409386738148" ------=_Part_7388_1748584512.1409386738148 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The tapestry-ckeditor module integrates the powerfull CKEditor rich t= ext editor component with the Apache Tapestry5 web application framework.= p>
The component is implemented as a tapestry mixin which can be applied on= ly to the TextArea component. The integration with CKEditor is meant to be = seamless such that the text area values are replaced with the ckeditor cont= ents with no additional value submission and handling necessary.
Here's how it looks like:
An example page template:
The module doesn't require any mandatory configuration. The configuratio= n for the CKEditor is described in the documentation for the CKEDITOR.config namespace. There ar= e two ways to make configuration changes for the tapestry-ckeditor mixin:= p>
Per instance configuration: If there i= s need to make a change for a particular instance of the CKEditor component= this can be acheved by using the parameters par= ameter of the mixin, which is of type Map<String, ?>. Example:= p>
Global configuration: Changes of the C= KEDITOR.config object are reflected in all editor instances, if not s= pecified otherwise for a particular instance. the configuration can be made= in a separate js file that is used by setting the CKEDITOR.config.customConfig property. Exa= mple: