Page 1 of 1

ckeditor primefaces toolbarStartupExpanded

Posted: 18 Mar 2019, 14:31
by daniechristie
Hi,
I am trying to change the toolbarStartupExpanded set to false, but i did'nt work.


<pe:ckEditor id="text_kommentar" skin="kama"
customConfig="#{request.contextPath}/weblets/resources/scripts/peckeditor.js"
toolbar="[['Cut','Copy','Paste','PasteText','PasteFromWord','-', 'SpellChecker'], '/', ['Undo', 'Redo']]"
toolbarCanCollapse="true" toolbarStartupExpanded="false"
</pe:ckEditor>
Someone any Idea?

Re: ckeditor primefaces toolbarStartupExpanded

Posted: 18 Mar 2019, 16:52
by Melloware
If you look at the documentation on the right hand panel here: https://www.primefaces.org/showcase-ext ... Editor.jsf

You will see those properties are not exposed in the JSF component which is why you don't see them.

it can be done with the "customConfig" property of the JSF component. See viewtopic.php?t=20413