From 5ea2f0ea4466894e3c280ad42b7276931f52696d Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Mon, 23 Mar 2026 21:52:49 +0800 Subject: [PATCH] fix: ensure template blocks fully loaded --- src/main/frontend/handler/editor.cljs | 12 ++++-------- src/main/logseq/api/editor.cljs | 6 ++---- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/main/frontend/handler/editor.cljs b/src/main/frontend/handler/editor.cljs index 14c46732c6..29cedef606 100644 --- a/src/main/frontend/handler/editor.cljs +++ b/src/main/frontend/handler/editor.cljs @@ -1982,10 +1982,8 @@ (insert-template! element-id db-id {})) ([element-id db-id {:keys [target] :as opts}] (let [repo (state/get-current-repo)] - (p/let [block (db-async/