1
0
Peng Xiao 3 жил өмнө
parent
commit
37f0893b01

+ 0 - 1
deps/graph-parser/src/logseq/graph_parser/extract.cljc

@@ -220,7 +220,6 @@
    - it will only contain a single page (for now). The page properties contains 'bindings' etc
    - blocks will be adapted to tldraw shapes. All blocks's parent is the given page."
   [file content {:keys [verbose] :or {verbose true} :as options}]
-  (println "extract-whiteboard-edn Parsing start: " file)
   (let [_ (when verbose (println "Parsing start: " file))
         {:keys [pages blocks]} (gp-util/safe-read-string content)
         page-block (first pages)

+ 0 - 2
src/main/frontend/handler/whiteboard.cljs

@@ -93,9 +93,7 @@
                                 (not (or (block-ids (:block/uuid block))
                                          (block-ids (:block/uuid (:block/parent block))))))
                               existing-blocks)
-        _ (util/pprint delete-blocks)
         delete-blocks-tx (mapv (fn [s] [:db/retractEntity (:db/id s)]) delete-blocks)]
-    (util/pprint delete-blocks-tx)
     (concat [page-block] blocks delete-blocks-tx)))
 
 (defn- get-whiteboard-clj [page-name]