What is PrimeFaces p: editor based?

I want to add some client side functionality to PrimeFaces p: editor , but for some reason I am unable to expose the client side JavaScript code they used to build the component. Can anyone point me to this?

PS the two things I want to do is make the component mutable (PrimeFaces does not support this) and I want to add shortcut buttons for pasting preprogrammed text. Any hints on how this will be done would be appreciated.

+3


source to share


2 answers


PrimeFaces p: editor uses CLEditor

view this thread



also you should take a look at PrimeFaces Extension Project , they implemented an editor that uses CKEditor

+5


source


<p:editor/>

The JavaScript source is /META-INF/resources/primefaces/editor/editor.js

inside primefaces-xxx.jar.



+1


source







All Articles