mirror of https://github.com/logseq/logseq
fix(whiteboard): shape block-ref display issue
parent
7afea4376b
commit
df67c68005
|
@ -1937,7 +1937,7 @@
|
||||||
(when (= block-type :whiteboard-shape) [:span.mr-1 (ui/icon "whiteboard-element" {:extension? true})])
|
(when (= block-type :whiteboard-shape) [:span.mr-1 (ui/icon "whiteboard-element" {:extension? true})])
|
||||||
(when (and
|
(when (and
|
||||||
(or config/publishing? (util/electron?))
|
(or config/publishing? (util/electron?))
|
||||||
(not= block-type :default))
|
(not (#{:default :whiteboard-shape} block-type)))
|
||||||
(let [area? (= :area (keyword (:hl-type properties)))]
|
(let [area? (= :area (keyword (:hl-type properties)))]
|
||||||
[:div.prefix-link
|
[:div.prefix-link
|
||||||
{:on-mouse-down (fn [^js e]
|
{:on-mouse-down (fn [^js e]
|
||||||
|
|
Loading…
Reference in New Issue