mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
disable swipe gesture when scrolling mirrorcode editor
This commit is contained in:
@@ -264,6 +264,9 @@
|
||||
(state/clear-selection!)
|
||||
(when-let [block (and (:block/uuid config) (into {} (db/get-block-by-uuid (:block/uuid config))))]
|
||||
(state/set-editing! id (.getValue editor) block nil false))))
|
||||
(.addEventListener element "touchstart"
|
||||
(fn [e]
|
||||
(.stopPropagation e)))
|
||||
(.save editor)
|
||||
(.refresh editor)
|
||||
(when default-open?
|
||||
|
||||
Reference in New Issue
Block a user