I am working with a page and I would like to put primefaces editor on it. However, I have tried several ways, but non could make the editor show like it is on the Primefaces showcase(http://www.primefaces.org/showcase/ui/input/editor.xhtml), every other primefaces feature on the page is working, and if there is something put under the editor, it would ruin other feature as well (like making the calendar button disappear.) Not really sure what is happening, can anyone help? :(
Basic markup:
<h:form>
<p:calendar value="#{bean.date}" showOn="button"/>
<!-- if put under the editor, the calendar will not work as well -->
<p:editor id="editor" widgetVar="editorWidget" value="#{bean.text}" width="100" />
</h:form>
And when I inspect the page, the html component rendered is hidden and the toolbar options are not present.