The right way to add a plugin to ckeditor

Community Driven Extensions Project
Post Reply
TM4rkuS
Posts: 1
Joined: 17 Jun 2016, 10:43

17 Jun 2016, 11:40

Hi everyone,

I was just wondering what the right way to add a plugin like autosave to the pe:ckeditor would be. The solution I found was to open the resources-ckeditor-6.0.0.jar file with 7zip for example and just add the plugin to the folder META-INF\resources\primefaces-extensions\ckeditor\plugins. But that will become a cumbersome task any time the resources-ckeditor gets updated. Is there any other solution that doesn't include manually changing the .jar file?

Thanks!

ozwolverine
Posts: 4
Joined: 24 Jun 2016, 02:50

06 Feb 2017, 00:09

Hello Markus, did you get any solution to this task?
It would be interesting to now it.
Regards,

User avatar
Melloware
Posts: 318
Joined: 22 Apr 2013, 15:48

06 Feb 2017, 17:20

Unfortunately I don't think there is an "easy" or absolutely "correct" way to add a plugin to CKEditor.
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces 6.1.X / PF Extensions 6.1.5

ozwolverine
Posts: 4
Joined: 24 Jun 2016, 02:50

07 Feb 2017, 03:56

Thanks Melloware,

I tried to install an already developed plugin from this manual: "https://sourcesup.renater.fr/wiki/chain ... log_plugin", but I'm not able to make it work. I downloaded all assets, insert into main page, but, I only get my ckeditor as I had it before the plugin. Even though, just to check it out, I did changed icon image for an standard button: "iframe", but it doesn't change.

I'm deploying ckeditor in a JSF Web Application, I have deleted cache, and so on, but nothing seems to work, what could it be?

Thanks a lot.

User avatar
Melloware
Posts: 318
Joined: 22 Apr 2013, 15:48

07 Feb 2017, 14:03

It is the nature of how the PE CKEditor component works. There is a lot of magic to properly serve resources and configure the CKEditor.

I don't think what you are doing will ever work, you will have to hack the PrimeFaces Extensions component yourself to add a new plugin.
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces 6.1.X / PF Extensions 6.1.5

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest