BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

I am using WebChat in My web application, I want to open urls in same tab where chat window open

Open RohitMane opened this issue 8 years ago • 4 comments

I am using WebChat in My web application, I want to open urls in same tab where chat window open. Hey @danmarshall Can you help me on this ? If you want more information then please let me know. Thanks in Advance. :)

RohitMane avatar May 17 '18 10:05 RohitMane

Hi @RohitMane

I'm no @danmarshall , but I know you can fork this repository and modify this line to enable opening urls however you prefer: https://github.com/Microsoft/BotFramework-WebChat/blob/617de0a0145aef1f2843c72d7ec4e6818c0bf7fb/src/Chat.tsx#L326

Does this answer your question?

EricDahlvang avatar May 17 '18 16:05 EricDahlvang

@EricDahlvang Thanks for Replay but my problem still not resolved. I want to open URL into same tab where my application open into browser. If you want more information please let me know

RohitMane avatar May 21 '18 09:05 RohitMane

@RohitMane can you try commenting out lines 31 to 51 in src/FormattedText.tsx ?

danmarshall avatar May 22 '18 00:05 danmarshall

Dupe of #984.

compulim avatar Jun 14 '18 08:06 compulim