Opened 7 years ago

Closed 7 years ago

#13281 closed Bug (invalid)

plugins missing from "" download?

Reported by: Gurce Owned by:
Priority: Normal Milestone:
Component: General Version: 4.4.7
Keywords: Cc:


After downloading the "" file from " >> 'Download" >> Full Package", I started to think it might be missing a few packages.

I posted here initially:

Robert mentioned for "autogrow", it isn't part of any of the packages (basic/standard/full), so that's normal/to-be-expected for it.

Ok, fair enough. But the next question I wanted to ask was how about the "keystrokes" plugin? This is also missing from the "*" file. (I wanted to ask this on the previously mentioned page, but the spam filter kept blocking me for some reason, so I came here instead).

I saw a reference on how to do custom-keyboard shortcuts here:

Which pointed to here:

In there, it mentions that you can edit the default values of CKEDITOR.config.keystrokes, which are defined in "plugins/keystrokes/plugin.js". Funnily enough, when I check for this file, it's missing from the "" download too.

Unfortunately, this doesn't seem to be available as a separate download (ie, no google hits when I search for "ckeditor keystrokes plugin", I even tried visiting "", but no luck there either).

I noticed the source for it was available here though:

I also noticed in an old copy of ckeditor that I kept that it just consisted of this one "plugsin/keystrokes/plugin.js" file, so I thought I'd just try copy/paste it (with the html-stuff removed).

I also had to delete some of the example sections of the comments because they contained /* ... */ c-comments, which were interfering with the / ... */ documentation comment that contained them.

I then edited the "config.js" file and added this plugin to the list:

config.extraPlugins = 'autogrow,keystrokes';

Finally after doing all this, I got the keystrokes plug-in working with the advice from here.

Change History (1)

comment:1 Changed 7 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Keystrokes are now integrated into CKEditor core.

If you want to add custom keystroke, please see!/api/CKEDITOR.editor-method-setKeystroke. Please also don't use CKEditor 3 documentation for CKEditor version 4.

Please also see:!/api/CKEDITOR.config-cfg-keystrokes!/api/CKEDITOR.config-cfg-blockedKeystrokes

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy