fix: copy paste

related to #5561
This commit is contained in:
Tienson Qin
2022-06-06 13:21:57 +08:00
parent 4c879aa456
commit 4ff98966da
4 changed files with 42 additions and 14 deletions

View File

@@ -1437,7 +1437,7 @@
(defn set-copied-full-blocks
[content blocks]
(set-state! :copy/blocks {:copy/graph (get-current-repo)
:copy/content content
:copy/content (or content (get-in @state [:copy/blocks :copy/content]))
:copy/full-blocks blocks}))
(defn set-copied-full-blocks!