From 9c92fbecc72f1827f9e23da018a51134c73ea8ea Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Wed, 24 Sep 2025 09:48:14 +0800 Subject: [PATCH] fix: images uploaded on other pages are added to today page related to https://github.com/logseq/db-test/issues/483 --- src/main/frontend/handler/editor.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/frontend/handler/editor.cljs b/src/main/frontend/handler/editor.cljs index fc2107fc52..3fba5ca633 100644 --- a/src/main/frontend/handler/editor.cljs +++ b/src/main/frontend/handler/editor.cljs @@ -1557,7 +1557,7 @@ today-page (if (nil? today-page-e) (state/pub-event! [:page/create today-page-name]) today-page-e) - insert-to-current-block-page? (and (:block/uuid edit-block) (string/blank? (state/get-edit-content)) (not pdf-area?)) + insert-to-current-block-page? (and (:block/uuid edit-block) (not pdf-area?)) insert-opts' (if insert-to-current-block-page? (assoc insert-opts :block-uuid (:block/uuid edit-block)