Hi, i use a french keyboard and i can’t do an opening brace anymore on the builder because of the shortcuts ! It’s a nightmare when i’m using CSS.
Is there a way to fix that ? I would like to disable the shortcuts or change them.
Thanks !
Hi, i use a french keyboard and i can’t do an opening brace anymore on the builder because of the shortcuts ! It’s a nightmare when i’m using CSS.
Is there a way to fix that ? I would like to disable the shortcuts or change them.
Thanks !
Hi @popoche,
Thanks for reaching out.
Unfortunately, there’s no option to change/disable the shortcuts in the builder. I suggest that you use any file editor then just copy and paste the code in the builder.
Hope that helps.
Thank you.
Hi and thanks for your reply.
Its really helpful to code directly in the builder, it’s really affecting my workflow
I’m sure i will not be the only one, it was fine before the update. It will affect many users without a US keyboard.
There is no way in the future you could add the possibility to disable the shortcuts ?
Thanks.
Hi @popoche,
I added it to our list of feature requests. This way it can be taken into consideration for future development. All of these items are discussed with our team internally and prioritized based on the amount of interest a particular feature might receive.
Hope that helps.
Thank you.
Thanks, i hope it can be pushed in the future.
Hi @popoche,
You’re welcome and it’s our pleasure to help you. If you have any other concerns, feel free to reach us.
Thank you.
Is it possible to help me find the code in PRO that manage the shortcuts ? I think i will make a plugin to patch it myself.
Thanks !
Hi @popoche,
I got word from our developers that the shortcut code is bound with the core javascript files and need to recompile in order for you to change it. Regretfully, we don’t have any docs on how you can change it.
Hope that helps.
Thank you.
I understand, thanks for checking.
You are most welcome!!
Hi @popoche,
I was investigating this issue and wanted to note on the thread here that it is possible to disable the shortcuts by adding this code in functions.php
of a child theme:
add_filter('cornerstone_keybindings', function ($bindings ) {
return [
'save' => array( 'mod+s', 'Save' ),
];
});
I’m sorry we weren’t able to get this workaround in your hands sooner. We will be introducing a more official solution in a coming release. We want to create a way to let users rebind the shortcuts, but at a minimum we should be able to disable them from firing when you are in a code editor or text editor.
Update: The next release will ensure navigational keyboard shortcuts do not trigger at all if you are focused on a code editor or text input. We anticipate pushing the update out next week.
Hi again, it was working fine until the last big update.
The problem is back, i can’t use my keyboard for many special char in every input field without triggering some shortcut. Is there a workaround ? The code your provided don’t seem to work anymore.
Thanks.
I would first check that your preferences are taking place. In the dev toolkit go to “Preferences” and you should see the keybindings object to edit too. We do not currently have a way to edit keybindings in a UI. There you can also edit and make changes if a combination of characters is affecting your keyboard.
What combination of characters are you inputting?
Thanks for the reply, I’m trying to do brackets ({) and hash (#) with my azerty keyboard and i cannot when I’m in the css/js editor or any input field because it always trigger a shortcut.
This menu seem very practical indeed, can i delete the bindings i don’t need ?
(like this : “workspace-outline”: “”, )
Thanks.
Yes that will work. Press the “Play” button in the corner of the window when you are done editing the key bindings, save, and reload the page.
Great, it worked ! Thank you very much for the help