Skip to content

Preserve asset alt text during File-to-DB import - #13077

Closed
tiensonqin wants to merge 2 commits into
masterfrom
logseq/preserve-imported-asset-alt-96e8
Closed

tiensonqin wants to merge 2 commits into
masterfrom
logseq/preserve-imported-asset-alt-96e8

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Fixes logseq/db-test#1081

Summary

  • preserve image alt text and file-link labels when replacing File graph asset URLs with DB asset references
  • render imported asset references with their per-reference labels and image alt attributes
  • remove labeled asset references correctly from their source blocks
  • cover link rewriting, ignored-asset reporting, and the File-to-DB import path

Verification

  • pnpm test in deps/graph-parser
  • bb dev:test -v frontend.components.block.asset-test/link-title-test
  • bb dev:lint-and-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File-to-DB graph import results in loss of embedded asset alt text

2 participants