Hi!

How can I change the hotkey to hide the editor toolbars to ctrl+alt+minus? I need it to insert a long hyphen.

Thanks.

Christopher

Comments

mkesicki’s picture

Status: Active » Fixed

In CKEditor's profile configuration in option "Custom javascript configuration " ("Advanced options" tab)
add this

config.keystrokes =
[
       [ CKEDITOR.CTRL + CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
];

Please refer to:
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.keys...
If you have more question please reopen this ticket.

dczepierga’s picture

Status: Fixed » Closed (fixed)