I need to HIDE the toolbar completely on a page where the editor is used to display HTML text in read-only form.
I have tried this:
Code: Select all
<f:facet name="toolbar">
<span class="ql-formats" />
</f:facet>
Some help would be appreciated.
Code: Select all
<f:facet name="toolbar">
<span class="ql-formats" />
</f:facet>
Code: Select all
modules: {
toolbar: null;
}
Code: Select all
<p:textEditor toolbarVisible="false" .. />
Code: Select all
<p:textEditor id="#{cc.attrs.idPrefix}Id" widgetVar="#{cc.attrs.idPrefix}Widget"
value="#{helpPanelUtility.pageContent}" readonly="true"
toolbarVisible="false" />
Yes, I also have difficulties with this. I can not figure out what's what .. If you can add an example. What would I see how it's donerafael.bomfim wrote: ↑26 Apr 2018, 16:53Good Morning!
I still dont understand how I apply the buble or snow theme.
You can put an example here.
Code: Select all
<p:textEditor value="#{mensagemMB.edicao.mensagem}" id="editorResponder"
height="200" style="margin-bottom:10px">
<f:facet name="toolbar">
<span class="ql-formats">
<button class="ql-bold"></button>
<button class="ql-italic"></button>
<button class="ql-underline"></button>
<button class="ql-strike"></button>
</span>
<span class="ql-formats">
<select class="ql-font"></select>
<select class="ql-size"></select>
</span>
<span class="ql-formats">
<select class="ql-color" />
<select class="ql-background" />
</span>
<span class="ql-formats">
<button class="ql-script" value="sub" />
<button class="ql-script" value="super" />
</span>
</f:facet>
</p:textEditor>
Users browsing this forum: No registered users and 38 guests