Repository navigation
fix: export children of text property values - #13106
Merged
tiensonqin merged 1 commit intoAug 26, 2026
Merged
Conversation
Include nested blocks under default/text property values in markdown file export and the derived markdown mirror. URL and other non-text property types stay inline and do not export value children. Co-authored-by: Tienson Qin <[email protected]>
tiensonqin
force-pushed
the
logseq/export-text-property-value-children-436c
branch
from
August 26, 2026 10:13
529f012 to
e81e139
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Children of default/text-type property values exist in the DB under the value block, but markdown file export and the derived markdown mirror only wrote the value title. The subtree was dropped.
Fixes logseq/db-test#1107.
Cause
Default/text property values are exported as nested blocks by
default-property-value-block-content. That helper wrote the value title (and any properties on the value) but did not walk:block/_parentchildren. URL and other non-text types stay on a single property line and are unchanged.The markdown-mirror outline walk is not the source of the missing content: it only decorates already-exported outline blocks. The children never made it into the exported markdown.
Change
logseq.common.export.file.Tests
<mirror-page!.Verified with the production export/mirror functions:
- page value/- block valueonly).frontend.handler.export-property-test+frontend.worker.markdown-mirror-test: 47 tests, 76 assertions, 0 failures.