mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 17:36:33 +00:00
fix: set add property shortcut to mod+alt+p on windows and linux
fixes https://github.com/logseq/db-test/issues/37
This commit is contained in:
@@ -345,9 +345,9 @@
|
||||
:editor/toggle-number-list {:binding "t n"
|
||||
:fn #(state/pub-event! [:editor/toggle-own-number-list (state/get-selection-block-ids)])}
|
||||
|
||||
:editor/add-property {:binding "mod+p"
|
||||
:editor/add-property {:binding (if mac? "mod+p" "ctrl+alt+p")
|
||||
:fn (fn [e]
|
||||
(when e (.preventDefault e))
|
||||
(when e (util/stop e))
|
||||
(state/pub-event! [:editor/new-property {}]))}
|
||||
|
||||
:editor/add-property-deadline {:binding "p d"
|
||||
|
||||
Reference in New Issue
Block a user