mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
fix: pasting in journal page generate empty file
This commit is contained in:
@@ -2264,7 +2264,7 @@
|
||||
(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)])
|
||||
(:block/page (state/get-edit-block)))
|
||||
(:block/page (db/entity (:db/id(state/get-edit-block)))))
|
||||
file (:block/file page)
|
||||
copied-blocks (state/get-copied-blocks)
|
||||
copied-block-tree (:copy/block-tree copied-blocks)]
|
||||
|
||||
Reference in New Issue
Block a user