mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 16:36:27 +00:00
wip: export refactor
1. Move fns to worker 2. Don't rely on :block/file, use db blocks to build page content
This commit is contained in:
@@ -22,10 +22,10 @@
|
||||
[:h1.title (t :export)]
|
||||
[:ul.mr-1
|
||||
[:li.mb-4
|
||||
[:a.font-medium {:on-click #(export/export-repo-as-edn-v2! current-repo)}
|
||||
[:a.font-medium {:on-click #(export/export-repo-as-edn! current-repo)}
|
||||
(t :export-edn)]]
|
||||
[:li.mb-4
|
||||
[:a.font-medium {:on-click #(export/export-repo-as-json-v2! current-repo)}
|
||||
[:a.font-medium {:on-click #(export/export-repo-as-json! current-repo)}
|
||||
(t :export-json)]]
|
||||
(when (config/db-based-graph? current-repo)
|
||||
[:li.mb-4
|
||||
|
||||
Reference in New Issue
Block a user