From e179e1c86e586738f87a7be844dac337ad74a23e Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 13 Jan 2023 16:02:19 +0800 Subject: [PATCH] fix: template e2e test --- 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 ced39b6343..b8bc6ebf9b 100644 --- a/src/main/frontend/handler/editor.cljs +++ b/src/main/frontend/handler/editor.cljs @@ -2076,10 +2076,10 @@ :else true)] - (save-current-block!) (outliner-tx/transact! {:outliner-op :insert-blocks :created-from-journal-template? journal?} + (save-current-block!) (let [result (outliner-core/insert-blocks! blocks' target (assoc opts