mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
fix: can't select blocks in edit mode
This commit is contained in:
@@ -275,11 +275,7 @@
|
||||
;; hide context menu
|
||||
(state/hide-custom-context-menu!)
|
||||
|
||||
(editor-handler/clear-selection! e)))
|
||||
(mixins/listen state js/window "mouseup"
|
||||
(fn [e]
|
||||
(when (state/get-selection-start-block)
|
||||
(state/set-selection-start-block! nil))))))
|
||||
(editor-handler/clear-selection! e)))))
|
||||
{:did-mount (fn [state]
|
||||
(shortcut/install-shortcuts!)
|
||||
state)
|
||||
|
||||
Reference in New Issue
Block a user