mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
fix: search bar cannot copy
This commit is contained in:
@@ -256,6 +256,12 @@
|
||||
:binding "mod+c mod+r"
|
||||
:fn #(repo-handler/re-index! nfs-handler/rebuild-index!)}}
|
||||
|
||||
:shortcut.handler/misc
|
||||
;; always overrides the copy due to "mod+c mod+s"
|
||||
{:misc/copy
|
||||
{:binding "mod+c"
|
||||
:fn (fn [] (js/document.execCommand "copy"))}}
|
||||
|
||||
:shortcut.handler/global-non-editing-only
|
||||
^{:before m/enable-when-not-editing-mode!}
|
||||
{:ui/toggle-document-mode
|
||||
|
||||
Reference in New Issue
Block a user