Browse Source

Add .select-none thanks to Shuyu

Tienson Qin 3 years ago
parent
commit
0727e55d00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/block.cljs

+ 1 - 1
src/main/frontend/components/block.cljs

@@ -1883,7 +1883,7 @@
                 (not block-ref?)
                 (assoc mouse-down-key (fn [e]
                                         (block-content-on-mouse-down e block block-id content edit-input-id))))]
-    [:div.block-content.inline
+    [:div.block-content.inline.select-none
      (cond-> {:id (str "block-content-" uuid)
               :on-mouse-up (fn [e]
                              (when (and