Changing Confluence Keyboard Shortcuts

Hi there,

How can I change Confluence keyboard shortcuts that are not defined in the file editor_plugins_src.js as described here ("Changing Editor's Keyboard Shortcuts")? E.g. changing the shortcut for "Headings 1 to 6"?

Cheers,

Thomas

2 answers

1 accepted

This widget could not be displayed.

Ok, I found the solution, at least for the headings, here. :-)

The post only mentions the shortcut vor Ctrl+7. For Ctrl+1 - Ctrl+6 you have to look for the following lines:



for (i=1; i<=6; i++) {
// For safari compatibility we add these shortcuts both with and without the alt/option key
t.addShortcut('ctrl+alt+' + i + ',ctrl+' + i, '', ['FormatBlock', false, 'h' + i]); // ATLASSIAN - our format block method expects html tag names
}
This widget could not be displayed.
Ok, I found the solution, at least for the headings, here. :-)

The post only mentions the shortcut vor Ctrl+7. For Ctrl+1 - Ctrl+6 you have to look for the following lines:

for (i=1; i<=6; i++) {
// For safari compatibility we add these shortcuts both with and without the alt/option key
t.addShortcut('ctrl+alt+' + i + ',ctrl+' + i, '', ['FormatBlock', false, 'h' + i]); // ATLASSIAN - our format block method expects html tag names
}

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

503 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you