It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Disable Keyboard Shortcuts - Letter C

How to Disable Keyboard Shortcuts - Letter C - which opens a new ticket window

4 answers

I had the same problem in Confluence while creating page using custom template. When user creates a new page using my template and presses Caps+C while filling up the contents, Confluence creates a new page and disregards the current page. I handled it in my template through JQuery. Here's the code

<script type="text/javascript">
    AJS.toInit(function(){ 
if(Confluence.KeyboardShortcuts.enabled){
RW.shortcutsEnabled =function(){
return false;
};
}
});
</script>

The only solution I've found:

You can use ScriptRunner (Adaptavist ScriptRunner for Confluence) plugin to disable this.
Go to ScriptRunner Fragments section and create a "Hide System or UI Plugin Element" and hide the following elements:

com.atlassian.confluence.plugins.confluence-create-content-plugin:header-create-dialog
com.atlassian.confluence.plugins.confluence-create-content-plugin:header-create-quick

Write "return false" in the script.

 

Screen Shot 2020-02-22 at 1.40.25 PM.png

0 votes
Matt Tse Atlassian Team Jul 22, 2020

Hi everyone,

Thanks for the lively discussion about keyboard shortcuts! My name’s Matt and I’m one of the product managers in Jira Cloud. My team picked this problem up and have just started to roll out a feature that will allow users to enable/disable shortcuts at a per-user level.

enable and disable keyboard shortcut.png

See the attached screenshot of what this will look like. We were constrained by time so we decided to put it into the keyboard shortcut (Shift + ?) dialog for now. We believe this will address the problem and in the future, we will consider adding it inside the user profile page.

As of this afternoon, it will be available to 5% of Jira Cloud customers and we aim to get this rolled out to 100% in early August.

Kind regards,
Matt

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you