Code: Select all
<p:commandButton value="Button"
update="editorTest"
ajax="true"
onclick="insertTexto('TEXT', 'editorTest');"/>
<p:editor id="editorTest"
widgetVar="wgvEditor"
width="800"
height="500"/>
Could anyone help me with this problem?