Skip to content

References to namespaced pages fail to resolve in blocks inserted via the API (logseq.Editor.insertBlock) #737

@clstb

Description

@clstb

Search first

  • I searched and no similar issues were found

What Happened?

API made me sad :(

Reproduce the Bug

  1. Create page "Some_Page"
  2. Create page "Some_Child"
  3. Create page "Link_Page"
  4. Insert block via API containing [[Some_Page/Some_Child]]
  5. Pages are not linked, when not editing rendered as [[]] in the UI

Expected Behavior

Block references namespaced page properly on DB and UI layer.

Screenshots

Image Image

Desktop or Mobile Platform Information

Desktop DB version, recent main commit 0.11.0-build-20808349121
MacOS 26.2

Additional Context

If things are too busy I can fix it, lmk.

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions