Skip to content

[6.x] For links in tooltips, open them in a new tab if external - #15213

Merged
jackmcdade merged 13 commits into
6.xfrom
open-links-in-an-external-tab
Aug 21, 2026
Merged

[6.x] For links in tooltips, open them in a new tab if external#15213
jackmcdade merged 13 commits into
6.xfrom
open-links-in-an-external-tab

Conversation

@jaygeorge

Copy link
Copy Markdown
Contributor

Description of the Problem

Tooltips in the CP include external links sometimes.
We discussed this internally and agreed that external tooltip links should open in a new tab

What this PR Does

Checks for external links in the tooltip and makes them target="_blank"

How to Reproduce

  1. Easiest is /cp/sites, where we're using them in hints like Locale

@jackmcdade
jackmcdade force-pushed the open-links-in-an-external-tab branch from cdfe7f8 to 6e246bf Compare August 21, 2026 19:27
Base automatically changed from clickable-tooltips to 6.x August 21, 2026 19:31
Co-authored-by: Cursor <cursoragent@cursor.com>
@jackmcdade
jackmcdade merged commit 897b4dd into 6.x Aug 21, 2026
64 checks passed
@jackmcdade
jackmcdade deleted the open-links-in-an-external-tab branch August 21, 2026 19:39
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