mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 23:25:05 +00:00
fix: clicking block bullets in portal
This commit is contained in:
@@ -197,11 +197,11 @@
|
||||
(db-utils/transact! [tx])
|
||||
uuid))
|
||||
|
||||
(defn inside-whiteboard-portal-container
|
||||
(defn inside-portal
|
||||
[target]
|
||||
(dom/closest target ".tl-logseq-cp-container"))
|
||||
|
||||
(defn closest-whiteboard-shape-id
|
||||
(defn closest-shape
|
||||
[target]
|
||||
(when-let [shape-el (dom/closest target "[data-shape-id]")]
|
||||
(.getAttribute shape-el "data-shape-id")))
|
||||
Reference in New Issue
Block a user