ckeditor primefaces toolbarStartupExpanded

Community Driven Extensions Project
Post Reply
daniechristie
Posts: 1
Joined: 18 Mar 2019, 14:19

18 Mar 2019, 14:31

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?

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

18 Mar 2019, 16:52

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
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests