Opened 10 years ago

Closed 10 years ago

#13281 closed Bug (invalid)

plugins missing from "ckeditor_4.4.7_full.zip" download?

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

Description

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

I posted here initially:

http://ckeditor.com/addon/autogrow

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 "*_full.zip" 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:

http://ckeditor.com/forums/Support/Custom-hotkeys

Which pointed to here:

http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.keystrokes

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 "ckeditor_4.7.7_full.zip" 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 "http://ckeditor.com/addon/keystrokes", but no luck there either).

I noticed the source for it was available here though:

http://docs.cksource.com/ckeditor_api/symbols/src/plugins_keystrokes_plugin.js.html

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.

http://trueacu.com/CKEditor_Keyboard_Shortcuts

Change History (1)

comment:1 Changed 10 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Keystrokes are now integrated into CKEditor core.

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

Please also see:
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-keystrokes
http://docs.ckeditor.com/#!/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