Anchor External Link Navigation #4195
-
Hi folks, If an external URL is used for the href, the target and rel will automatically be updated to: If someone was to put in a console.twilio.com or a subdomain of *.twilio.com full url in the href property of Anchor, would that be treated as an external link as well and would that attach |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Sorry, I don't know how to help with that. I did do a search though, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:
|
Beta Was this translation helpful? Give feedback.
-
Hey @uditadhikari117! I'm here to help you with any bugs, questions, or contributions. Let's tackle this together! The Paste design system uses a regular expression to determine if a URL is external. This regex checks if the URL starts with "http" or "https" [1]. There is no specific logic or configuration mentioned in the available information that identifies Twilio domains or subdomains as internal links. Therefore, URLs like To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Hey @uditadhikari117, dosubot summarized this pretty well. We do use regex to check if the url starts with https and we use this to determine whether to treat is as an external link. We do no checks to see what the current domain is where paste is being implemented. Does this cause issues for you? If so could you elaborate on your use case and we can discuss internally if there are changes required. |
Beta Was this translation helpful? Give feedback.
Hey @uditadhikari117, dosubot summarized this pretty well. We do use regex to check if the url starts with https and we use this to determine whether to treat is as an external link. We do no checks to see what the current domain is where paste is being implemented.
Does this cause issues for you? If so could you elaborate on your use case and we can discuss internally if there are changes required.