mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 08:56:29 +00:00
fix: error on reference click
This commit is contained in:
committed by
Tienson Qin
parent
74a0ed740e
commit
e919df3d9a
@@ -1562,7 +1562,7 @@ Similar to re-frame subscriptions"
|
||||
|
||||
(defn active-tldraw-app
|
||||
[]
|
||||
(when-let [tldraw-el (.closest js/document.activeElement ".logseq-tldraw[data-tlapp]")]
|
||||
(when-let [tldraw-el (.querySelector js/document.body ".logseq-tldraw[data-tlapp]")]
|
||||
(gobj/get js/window.tlapps (.. tldraw-el -dataset -tlapp))))
|
||||
|
||||
(defn tldraw-editing-logseq-block?
|
||||
|
||||
Reference in New Issue
Block a user