mirror of
https://github.com/wekan/wekan.git
synced 2025-12-26 20:28:48 +01:00
Hide and disable Keyboard Shortcuts, because they make using Ctrl-C to copy etc impossible.
Thanks to xet7 ! Fixes #5603, fixes #2423, fixes #1878, fixes #931
This commit is contained in:
parent
8ebb1a7d7f
commit
5606414f89
3 changed files with 11 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { ReactiveCache } from '/imports/reactiveCache';
|
||||
|
||||
/*
|
||||
// XXX There is no reason to define these shortcuts globally, they should be
|
||||
// attached to a template (most of them will go in the `board` template).
|
||||
|
||||
|
|
@ -255,8 +256,11 @@ Mousetrap.bind('n', evt => {
|
|||
evt.preventDefault();
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
Template.keyboardShortcuts.helpers({
|
||||
/*
|
||||
mapping: [
|
||||
{
|
||||
keys: ['w'],
|
||||
|
|
@ -319,4 +323,5 @@ Template.keyboardShortcuts.helpers({
|
|||
action: 'remove-labels-multiselect'
|
||||
},
|
||||
],
|
||||
*/
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue