mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
fix: command palette is no long working
This commit is contained in:
@@ -49,6 +49,7 @@
|
|||||||
|
|
||||||
(defn invoke-command [{:keys [action] :as cmd}]
|
(defn invoke-command [{:keys [action] :as cmd}]
|
||||||
(add-history cmd)
|
(add-history cmd)
|
||||||
|
(state/set-state! :ui/command-palette-open? false)
|
||||||
(state/close-modal!)
|
(state/close-modal!)
|
||||||
(action))
|
(action))
|
||||||
|
|
||||||
|
|||||||
@@ -571,8 +571,7 @@
|
|||||||
|
|
||||||
:shortcut.handler/misc
|
:shortcut.handler/misc
|
||||||
;; always overrides the copy due to "mod+c mod+s"
|
;; always overrides the copy due to "mod+c mod+s"
|
||||||
{:misc/copy (:misc/copy all-default-keyboard-shortcuts)
|
{:misc/copy (:misc/copy all-default-keyboard-shortcuts)}
|
||||||
:command-palette/toggle (:command-palette/toggle all-default-keyboard-shortcuts)}
|
|
||||||
|
|
||||||
:shortcut.handler/global-non-editing-only
|
:shortcut.handler/global-non-editing-only
|
||||||
(->
|
(->
|
||||||
|
|||||||
Reference in New Issue
Block a user