You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a link is included in the response markdown doc, currently clicking the link opens it in the current (=chatbot) tab and user has to click browser's back button to restrore the chatbot window. We want to change it to open the link in a new tab.
I did a small research and found the rehype-external-links rehype pluing would be used for that purpose, i.e., by modifying the Message.tsx in the following way:
When a link is included in the response markdown doc, currently clicking the link opens it in the current (=chatbot) tab and user has to click browser's back button to restrore the chatbot window. We want to change it to open the link in a new tab.
I did a small research and found the rehype-external-links rehype pluing would be used for that purpose, i.e., by modifying the
Message.tsx
in the following way:the link would be opened in a new tab.
Would you implement this on patternfly/chatbot? Thanks.
The text was updated successfully, but these errors were encountered: