mirror of
https://github.com/logseq/logseq.git
synced 2026-05-24 04:34:14 +00:00
@@ -89,7 +89,7 @@
|
||||
(let [^js el (rum/dom-node state)]
|
||||
;; Passing aria-label as a prop to TextareaAutosize removes the dash
|
||||
(.setAttribute el "aria-label" "editing block")
|
||||
(. el addEventListener "mouseup"
|
||||
(. el addEventListener "select"
|
||||
#(let [start (util/get-selection-start el)
|
||||
end (util/get-selection-end el)]
|
||||
(when (and start end)
|
||||
|
||||
Reference in New Issue
Block a user