mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
enhance: mod+p to add/edit property
This commit is contained in:
@@ -703,6 +703,7 @@
|
||||
(when-not (or (gobj/get e "shiftKey")
|
||||
(util/meta-key? e)
|
||||
(state/get-edit-input-id)
|
||||
(some-> (.-target e) (d/has-class? "cp__select-input"))
|
||||
(some-> (.-target e) (.closest ".ls-block"))
|
||||
(some-> (.-target e) (.closest "[data-keep-selection]")))
|
||||
(editor-handler/clear-selection!)))
|
||||
|
||||
Reference in New Issue
Block a user