fix: paste on journal page

This commit is contained in:
rcmerci
2021-04-15 12:32:25 +08:00
parent c9c9fd9f29
commit 2582a99532

View File

@@ -2259,7 +2259,8 @@
[text e]
(let [repo (state/get-current-repo)
page (or (db/entity [:block/name (state/get-current-page)])
(db/entity [:block/original-name (state/get-current-page)]))
(db/entity [:block/original-name (state/get-current-page)])
(:block/page (state/get-edit-block)))
file (:block/file page)
copied-blocks (state/get-copied-blocks)
copied-block-tree (:copy/block-tree copied-blocks)]