fix: can't copy and paste multiple blocks

This commit is contained in:
Tienson Qin
2021-05-30 22:09:38 +08:00
parent ba9acdb28d
commit 077ce43b59
7 changed files with 32 additions and 66 deletions

View File

@@ -31,7 +31,7 @@
(db/transact! repo
[{:file/path path
:block/name file
:block/file [:file/path path]
:block/file {:file/path path}
:block/journal? false}]))
(p/catch (fn [error]
(prn "Write file failed, path: " path ", data: " data)