Merge branch 'master' into feat/outliner-core

This commit is contained in:
Tienson Qin
2021-03-24 21:28:47 +08:00
18 changed files with 232 additions and 64 deletions

View File

@@ -1201,8 +1201,8 @@
(common-handler/copy-to-clipboard-without-id-property! content)))))
(defn cut-selection-blocks
[]
(copy-selection-blocks)
[copy?]
(when copy? (copy-selection-blocks))
(when-let [blocks (seq (get-selected-blocks-with-children))]
(let [repo (dom/attr (first blocks) "repo")
ids (distinct (map #(uuid (dom/attr % "blockid")) blocks))]