mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
Automatically set extract-options correctly
- Removed state paths [:config :text-formats], [:config :img-formats] and [:me :settins :date-formatter] as they have been unused since their introduction in 2020 - Converted incorrect js/Error refs - Also merged db.config test helpers
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
[frontend.db :as db]
|
||||
[frontend.format :as format]
|
||||
[frontend.state :as state]
|
||||
[logseq.graph-parser.config :as gp-config]
|
||||
[logseq.graph-parser.property :as gp-property]
|
||||
[logseq.graph-parser.mldoc :as gp-mldoc]))
|
||||
|
||||
@@ -15,7 +16,7 @@
|
||||
(gp-block/extract-blocks blocks content with-id? format
|
||||
{:user-config (state/get-config)
|
||||
:block-pattern (config/get-block-pattern format)
|
||||
:supported-formats (config/supported-formats)
|
||||
:supported-formats (gp-config/supported-formats)
|
||||
:db (db/get-db (state/get-current-repo))
|
||||
:date-formatter (state/get-date-formatter)}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user