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:
Lauri Ojansivu 2024-12-24 19:41:56 +02:00
parent 8ebb1a7d7f
commit 5606414f89
3 changed files with 11 additions and 4 deletions

View file

@ -5,10 +5,10 @@ template(name="sidebar")
// title="{{showTongueTitle}}")
// i.fa.fa-navicon
.sidebar-actions
.sidebar-shortcuts
a.board-header-btn.js-shortcuts(title="{{_ 'keyboard-shortcuts' }}")
i.fa.fa-keyboard-o
span {{_ 'keyboard-shortcuts' }}
//.sidebar-shortcuts
// a.board-header-btn.js-shortcuts(title="{{_ 'keyboard-shortcuts' }}")
// i.fa.fa-keyboard-o
// span {{_ 'keyboard-shortcuts' }}
a.sidebar-xmark.js-close-sidebar ✕
.sidebar-content.js-board-sidebar-content
//a.hide-btn.js-hide-sidebar

View file

@ -123,9 +123,11 @@ BlazeComponent.extendComponent({
location.reload();
}
},
/*
'click .js-shortcuts'() {
FlowRouter.go('shortcuts');
},
*/
'click .js-close-sidebar'() {
Sidebar.toggle()
},