Skip to content

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

Open
jaygeorge wants to merge 2 commits into
clickable-tooltipsfrom
open-links-in-an-external-tab
Open

[6.x] For links in tooltips, open them in a new tab if external#15213
jaygeorge wants to merge 2 commits into
clickable-tooltipsfrom
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

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