mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 02:46:45 +00:00
enhance: safe check input on selectionStart
This commit is contained in:
@@ -675,7 +675,7 @@
|
||||
(defn get-edit-pos
|
||||
[]
|
||||
(when-let [input (get-input)]
|
||||
(.-selectionStart input)))
|
||||
(util/get-selection-start input)))
|
||||
|
||||
(defn set-selection-start-block!
|
||||
[start-block]
|
||||
|
||||
Reference in New Issue
Block a user