Monday, April 28, 2014

How to enable CKEditor in PrimeFaces Extension

The CKEditor is not enabled by default when adding PrimeFaces Extension into PrimeFaces application.

There is only a textarea if the CKEditor is not enabled.

Thus, to enable the CKEditor, an additional jar needs to be included -- resources-ckeditor.jar
After added the resources-ckeditor.jar, the CKEditor displayed like below.

resources-ckeditor.jar could be downloaded here.
Besides, remember to check the correct version of PrimeFaces Extension using in the system to avoid any unexpected issues.

Update for PrimeFaces5.1
- List of library required to use CKEditor with PF5.1


Done!!

9 comments:

  1. Thank you, this was exactly the issue I had!

    ReplyDelete
  2. Hi, i have following dependencies in my pom.xml, but i still cannot get this work.
    {code}
    org.primefaces
    primefaces
    5.1



    org.primefaces.themes
    home
    1.0.9


    org.primefaces.extensions
    primefaces-extensions
    2.1.0


    org.primefaces.extensions
    resources-ckeditor
    2.1.0
    {code}

    ReplyDelete
  3. hi,
    I want to use primefaces ckeditor in my project and i dont use maven in my project so
    I manually added resources-ckeditor 3.0..jar / primefaces-5.1 jar / primefaces-extensions 3.0.jar
    but still cant get the editorview.
    what should i do ? is it something that i missing?
    thanks in advance

    ReplyDelete
    Replies
    1. Hi,
      I do not have a running copy of PF5.1, will let you know once I try it.

      Delete
    2. Hi,

      Please refer my update for PF5.1

      Delete
  4. No editor with PF5.1, extension 3.0.0 and resources-ckeditor-3.0.0

    ReplyDelete
    Replies
    1. according to the latest PrimeFaces Extension showcase,
      http://www.primefaces.org/showcase-ext/sections/ckEditor/basicUsage.jsf

      it's showing "PrimeFaces: 5.1, PrimeFaces Extensions: 3.0.0, JSF: mojarra 2.2.8"

      Delete
  5. Thank you for such a well written article. It’s full of insightful information and entertaining descriptions. Your point of view is the best among many. wordpress theme

    ReplyDelete
  6. Furthermore, everything begins by having the correct subject. Elegant Themes Divi Builder Plugin v4.0.7

    ReplyDelete

LinkWithin

Related Posts Plugin for WordPress, Blogger...