I'm implementing a simple form with an editor component inside a dialog box component.
Code: Select all
<p:dialog widgetVar="sampleDialog" header="Sample Dialog">
<h:form id="sampleForm">
<p:editor value="" width="640px" height="320px"></p:editor>
</h:form>
</p:dialog>
Code: Select all
<p:commandButton update="sampleForm" value="Show the Sample Modal"/>
Anyone tried implementing an editor in a modal window? I'm open for other solutions/frameworks to use. Thanks.