-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Feature Request
Is your feature request related to a problem? Please describe.
Embedded web links in messages that are for the same domain open in new tabs. It would be nice to be able to control whether an embedded link in the same domain opens in a new tab or in the same tab.
For example,
If the webchat is active in the web domain of 'test' and an embedded link is for a domain 'test1' then the link will be.
<a href='https://test1/...' target='_blank' />
else if the domain of the embedded link is for the same domain as the webchat then the link will be
<a href='https://test/...' target='_self' />
Describe the suggestion or request in detail
It would be nice to have a webchat style option to control whether a link within the same domain as the webchat opens in a new tab or the same tab.
Describe alternatives you have considered
The only other solutions to solve this problem is to implement a work around using DOM manipulation or to implement a custom webchat client from scratch.
Additional context
This is an issue with embedded links in messages not action buttons that appear on the bottom of cards. Though it would make sense that this feature would also affect the behavior of action buttons as well.