In a table cell in live preview, creating a link to a block without a block id in the same note does not add the block id to the block

Steps to reproduce

  1. Create a new note.
  2. Ensure you are in live preview mode.
  3. Add a table and a line of text to the note. For example:
    
    |     |     |
    | --- | --- |
    |     |     |
    
    This is a line without a block identifier.
    
  4. In a table cell, type [[^ to start searching for blocks in the current note.
  5. Select the This is a line without a block identifier. block in the editor popup.

Did you follow the troubleshooting guide? [Y/N]

Yes! I did this in the sandbox vault.

Expected result

I would expect a block identifier to be added to the block I linked to. The end result would look something like this:


|              |     |
| ------------ | --- |
| [[#^f59395]] |     |

This is a line without a block identifier. ^f59395

Actual result

A block identifier is generated and added to the link, but the block identifier is not added to the block, so the link does not resolve when clicked.


|              |     |
| ------------ | --- |
| [[#^ea9a58]] |     |

This is a line without a block identifier.

Environment

SYSTEM INFO:
Obsidian version: v1.11.3
Installer version: v1.9.14
Operating system: Darwin Kernel Version 24.5.0: Tue Apr 22 19:48:46 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8103 24.5.0
Login status: logged in
Language: en
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

This bug is not reproducible in source mode, only live preview mode.

This bug was reported previously and marked as fixed in Obsidian 1.8.