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?

#14 cekditor_field.zip3.32 KBanil_89
#4 cekditor_redpen.tgz4.79 KBchrisgross


mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

Did 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 ?

chrisgross’s picture

I'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

mkesicki’s picture

Please attach your plugin here (or send it in mail), so we can check what happens.

chrisgross’s picture

4.79 KB

Here 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.

dwieeb’s picture

Same problem: my plugin no longer shows up in the config page of CKEditor when I upgraded to 1.4.

mkesicki’s picture

Title: Adding custom plugin » [D7] Adding custom plugin
Status: Postponed (maintainer needs more info) » Fixed

@chrisgross I added :

    'buttons' => array( 'RedPen' => array(
        'icon' => 'images/icon.png',
        'label' => 'Red Pen',

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.

dwieeb’s picture

Thanks, I didn't see the change in ckeditor.api.php. It works now.

chrisgross’s picture

Thanks, it works well! That should definitely go in ckeditor.api.php, right?

mkesicki’s picture

@chrisgross I commited changes to GIT. Please test it and give a note if everything works fine.

mkesicki’s picture

Title: [D7] Adding custom plugin » [D7] Adding custom plugin - change in ckeditor.api.php
chrisgross’s picture

It all looks good from here.

dczepierga’s picture

I've add some more changes in ckeditor.api.php and README file.


mkesicki’s picture

Status: Fixed » Closed (fixed)
anil_89’s picture

3.32 KB

Here I example that how we can a custom text (token ) in ckeditor,

for adding plugin see full example module

mkesicki’s picture

Status: Closed (fixed) » Needs review
dczepierga’s picture

Status: Needs review » Closed (fixed)