Browse Source

fix: template e2e test

Tienson Qin 2 năm trước cách đây
mục cha
commit
e179e1c86e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/frontend/handler/editor.cljs

+ 1 - 1
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