Skip to content

Conversation

cmackdev
Copy link

Description of changes:

  • Adds custom anchor component to MARKDOWN_COMPONENTS
  • External links (http/https) now open in new tabs with target='_blank'
  • Includes rel='noopener noreferrer' for security
  • Internal links remain unchanged
  • Improves user experience by preventing navigation away from chat

Fixes: Users losing chat context when clicking external links

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Add custom anchor component to MARKDOWN_COMPONENTS
- External links (http/https) now open in new tabs with target='_blank'
- Includes rel='noopener noreferrer' for security
- Internal links remain unchanged
- Improves user experience by preventing navigation away from chat

Fixes: Users losing chat context when clicking external links
@OmarRad
Copy link
Member

OmarRad commented Aug 28, 2025

Thanks for the PR.

The team will have a look and evaluate this for inclusion in one of our next releases.

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.

2 participants