JSF Html Editor

PrimeFaces ships with a rich text editor allowing users to provide HTML text. Editor component is based on YUI editor with PrimeFaces extensions and the underlying javascript widget is of type PrimeFaces.widget.Editor.

The simplest example would be;

<p:editor value="#{bean.text}" />

editor1

In addition for Turkish users, Turkish is built-in.

<p:editor value="#{bean.text}" language="tr" />

editor2

Editor is also skinnable using CSS, following is just an example.

editor3

For the live examples, checkout the online demo.

Comments are closed.

%d bloggers like this: