fix: can't select blocks in edit mode

This commit is contained in:
Tienson Qin
2021-04-10 17:16:09 +08:00
parent 264b734111
commit 10a4712c54
2 changed files with 1 additions and 6 deletions

View File

@@ -277,10 +277,6 @@
(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))))
;; TODO: move to keyboards
(mixins/on-key-down