This page last changed on Dec 10, 2010 by sjayaraman.

Some users may experience some problem with keyboard shortcuts which might be clashing with other operating system/application's keyboard shortcuts.

The guide below is a workaround to change the keyboard shortcut for a particular function. The aim here is to change the quote shortcut in the editor from ctrl+alt+q to ctrl+alt+y:

  1. Unzip the <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip.
  2. Unjar the confluence-tinymce-plugin-X.X.X.X.jar in the unzipped atlassian-bundled-plugins.zip.
  3. Once unjarred, edit the /tinymce3/plugins/keyboardshortcuts/editor_plugins_src.js.
  4. Change the following line in the file:
    ed.addShortcut('ctrl+alt+q', '', ['FormatBlock', false, 'macro_quote']);
    to for example:
    ed.addShortcut('ctrl+alt+y', '', ['FormatBlock', false, 'macro_quote']);
  5. Save the file.
  6. Jar the file back to confluence-tinymce-plugin-X.X.X.X.jar.
  7. Zip the atlassian-bundled-plugins.zip back.
  8. Restart your Confluence instance. Your changes would be reflected after this. You may need to force refresh your browser.

If you need a guide to help with the editing files within JAR archives, you can refer to this Editing Files within JAR Archives. However, please keep in mind that the Tinymce plugin is part of bundled plugins. Hence, it is stored in a special place, which is located at <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip. Therefore, if you are following the guide, please make sure the paths are correct.

Document generated by Confluence on Sep 19, 2011 02:51