mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
fix: don't map :block/content to original-name for pages
This commit is contained in:
@@ -397,7 +397,9 @@
|
||||
(let [repo (state/get-current-repo)
|
||||
db-graph? (config/db-based-graph? repo)
|
||||
block (or (db/entity [:block/uuid block-id]) block)
|
||||
content (or custom-content (:block/content block) "")
|
||||
content (if (and db-graph? (:block/name block))
|
||||
(:block/original-name block)
|
||||
(or custom-content (:block/content block) ""))
|
||||
content-length (count content)
|
||||
text-range (cond
|
||||
(vector? pos)
|
||||
|
||||
Reference in New Issue
Block a user