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}" />


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

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


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


For the live examples, checkout the online demo.


Comments are closed.

%d bloggers like this: