GetStream / stream-chat-react

React Chat SDK ➜ Stream Chat 💬
https://getstream.io/chat/sdk/react/
Other
698 stars 272 forks source link

question: How to remove Hyperlinks format? #2446

Closed minhth1529 closed 2 months ago

minhth1529 commented 2 months ago

To Reproduce

Steps to reproduce the behavior:

  1. Typing 'a.styles'
  2. In sent message 'a.styles' is a link format

Expected behavior

how to remove Hyperlinks format?

Screenshots

Screenshot 2024-07-08 at 2 25 25 PM

Package version

MartinCupela commented 2 months ago

Hello @minhth-1529 , this is a valid uri with top level domain ".style". You can see more here.

However if you type a.styles, it is correctly not considered a link.

minhth1529 commented 2 months ago

Hi @MartinCupela , getstream will auto detect if the text is valid uri, it will auto format hyperlink, right?