mirror of https://github.com/logseq/logseq
fix: pasting in journal page generate empty file
parent
dfc4516671
commit
a96d65a00f
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue