knossos
knossos copied to clipboard
Pasting links in the description editor inserts a hyperlink template
Describe the bug
When pasting links in the markdown editor, it surrounds them with the markdown hyperlink syntax. If the user has intends to have a plain link, the formatting is unnecessary, since it will be shown as a link without it anyway. However it is even more frustrating when writing own hyperlinks.
Based on the example below, I would usually write something like: This mod depends on [Lithium](
<Ctrl+V> and get This mod depends on [Lithium]([https://modrinth.com/mod/lithium](https://modrinth.com/mod/lithium)
, which would then require additional effort to fix. Even if I don't cause this next time and paste the link first, it's still inconvenient to select and replace the text in the square brackets.
No other editor does this, so I suggest reverting this behavior.
Steps to reproduce
- Create a draft project.
- Open the description editor.
- Copy
https://modrinth.com/mod/lithium
(or any other link). - Paste it in the editor.
-
[https://modrinth.com/mod/lithium](https://modrinth.com/mod/lithium)
appears.
Expected behavior
https://modrinth.com/mod/lithium
should be pasted in as plain text.
Additional context
If the hyperlink template is absolutely essential or my points are not convincing, this still should be fixed for "Paste Without Formatting" option (Ctrl+Shift+V), which currently has the same effect.