-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CTRL+D shortcut to duplicate #6194
Comments
Is this a great idea? I got this to work and found out that CTRL+D is also the key that bookmarks pages. |
This default browser behavior can be prevent by a Javascript code like: document.querySelector('html').addEventListener('keydown', handleKeyDown);
function handleKeyDown( e ) {
if ( e.ctrlKey && e.keyCode === 68 ) { // ctrl + d
console.log('Ctrl+D');
}
e.preventDefault();
} |
I was more suggesting that we don't do that anywhere else in the codebase (to my knowledge), would it perhaps be better to change the keybind? |
Hi @Bouh, I'm going to take your advice and tackle this issue to pass my course |
document.addEventListener('keydown', (e) => { |
hello @9Amit i am on this issue |
Description
Please add the CTRL+D duplicate on the object list.
The text was updated successfully, but these errors were encountered: