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 adding a hyperlink using the "Add a link" button in issue/comment editor, pasting a URL results in incorrect Markdown formatting (double brackets) instead of replacing the placeholder text.
Steps to reproduce
Type any text in the editor
Select a text to use as link text
Click the "Add a link" button on the toolbar
The editor formats the selection to: [Example text](url) (with "url" pre-selected)
Paste a URL from clipboard (Ctrl+V)
Expected behavior:
The result should be: [Example text](https://example.com)
Actual behavior:
The result is: [Example text]([url](https://example.com))