Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
In version 7.x-1.3 I can add new plugin by copying plugin folder to the modules/ckeditor/plugins/_module_name_ and adding button to the text field with other buttons in the CKEditor profile edit page. Now in version 7.x-1.4 plugins are working and buttons showing when I edit articles, but I can't see them in the CKEditor profile edit page.
How can I add my plugins buttons to the "All buttons" in the profile edit page?
Comment | File | Size | Author |
---|---|---|---|
#14 | cekditor_field.zip | 3.32 KB | anil_89 |
#4 | cekditor_redpen.tgz | 4.79 KB | chrisgross |
Comments
Comment #1
mkesicki CreditAttribution: mkesicki commentedDid you enabled this plugin on CKEditor profile configuration (below "all buttons") ?
Do you see any JavaScript errors in Firebug console ?
Can you attach zip with your plugin ?
Comment #2
chrisgross CreditAttribution: chrisgross commentedI'm having what I think is the same problem.
On 7.x-1.3, my custom plugin showed up on the profile edit page, under "Plugins" and I was able to add to the textarea that configures the toolbar.
On 7.x-1.4, my custom plugin shows up on the profile edit page, under "Plugins," but there is no toolbar button for me drag onto the "used" toolbar, and since there is no textarea, I can't add it in manually. My button is not showing up in the toolbar one the node edit page at all, but that is probably because I installed 7.x-1.4 instead of upgrading, so the value never got set.
I am not seeing any js errors
Comment #3
mkesicki CreditAttribution: mkesicki commentedPlease attach your plugin here (or send it in mail), so we can check what happens.
Comment #4
chrisgross CreditAttribution: chrisgross commentedHere it is, a simple plugin.
I have confirmed the OP issue. I downgraded to 7.x-1.3, added the button via the config text field, then re-upgraded to 7.x-1.4. Now the button is there when editing the node, but never appears on the ckeditor profile config page.
Comment #5
dwieeb CreditAttribution: dwieeb commentedSame problem: my plugin no longer shows up in the config page of CKEditor when I upgraded to 1.4.
Comment #6
mkesicki CreditAttribution: mkesicki commented@chrisgross I added :
to your .module file and it works fine.
@dwieeb please compare attached file and changes with your plugin.
If you have more problems please reopen this ticket.
Comment #7
dwieeb CreditAttribution: dwieeb commentedThanks, I didn't see the change in ckeditor.api.php. It works now.
Comment #8
chrisgross CreditAttribution: chrisgross commentedThanks, it works well! That should definitely go in ckeditor.api.php, right?
Comment #9
mkesicki CreditAttribution: mkesicki commented@chrisgross I commited changes to GIT. Please test it and give a note if everything works fine.
Comment #10
mkesicki CreditAttribution: mkesicki commentedComment #11
chrisgross CreditAttribution: chrisgross commentedIt all looks good from here.
Comment #12
dczepierga CreditAttribution: dczepierga commentedI've add some more changes in ckeditor.api.php and README file.
Greetings
Comment #13
mkesicki CreditAttribution: mkesicki commentedComment #14
anil_89 CreditAttribution: anil_89 commentedHere I example that how we can a custom text (token ) in ckeditor,
use
hook_ckeditor_plugin()
for adding plugin see full example module
Comment #15
mkesicki CreditAttribution: mkesicki commentedComment #16
dczepierga CreditAttribution: dczepierga commented