fix(whiteboard): shape block-ref display issue

This commit is contained in:
Peng Xiao
2022-10-10 15:15:00 +08:00
committed by Tienson Qin
parent 7afea4376b
commit df67c68005

View File

@@ -1937,7 +1937,7 @@
(when (= block-type :whiteboard-shape) [:span.mr-1 (ui/icon "whiteboard-element" {:extension? true})])
(when (and
(or config/publishing? (util/electron?))
(not= block-type :default))
(not (#{:default :whiteboard-shape} block-type)))
(let [area? (= :area (keyword (:hl-type properties)))]
[:div.prefix-link
{:on-mouse-down (fn [^js e]