fix(whiteboard): shape block-ref display issue

pull/6939/head
Peng Xiao 2022-10-10 15:15:00 +08:00 committed by Tienson Qin
parent 7afea4376b
commit df67c68005
1 changed files with 1 additions and 1 deletions

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]