Skip to content

fix/linked images clickable - #59518

Closed
WaryaWayne wants to merge 4 commits into
zed-industries:mainfrom
WaryaWayne:fix/linked-images-clickable
Closed

fix/linked images clickable#59518
WaryaWayne wants to merge 4 commits into
zed-industries:mainfrom
WaryaWayne:fix/linked-images-clickable

Conversation

@WaryaWayne

Copy link
Copy Markdown
Contributor

WaryaWayne and others added 4 commits June 17, 2026 17:32
Make images inside markdown links clickable
Make images nested inside markdown links behave like normal markdown links by adding pointer/click handling to the rendered image wrapper.

Linked images now use the markdown URL click handler when present, fall back to opening the URL directly, respect prevent_mouse_interaction, and capture right-clicked links for context menus.

Verification:

- cargo test -p markdown: 95 passed

- Built after fixing earlier compile errors from non-existent methods

- Manually verified markdown preview badge/image links open and right-click shows Copy Link
markdown: Make linked images clickable
@cla-bot

cla-bot Bot commented Jun 18, 2026

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: BDM Headquarters.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@WaryaWayne WaryaWayne closed this Jun 18, 2026
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.

1 participant