Inserting a https-link in the web UI changes the link into the page title
jgarplind opened this issue · comments
Describe the bug
When pasting a full link (e.g. https://reactrouter.com/en/main/upgrading/future#future-flags) in the post composer, the link text is not pasted, instead the page title appears, and there is no obvious "linkiness" such as a blue color or a link card implying that things are in order.
To Reproduce
Steps to reproduce the behavior:
- Grab yourself a nice link, such as https://reactrouter.com/en/main/upgrading/future#future-flags
- Open the post composer
- Paste the link
Expected behavior
The link should be pasted as-is.
Screenshots
Good (see below for how to achieve):
Details
- Platform: Desktop Windows Edge
- Platform version: Windows 11, Edge 125.0.2535.67
- App version: Build version: 1.84.0; Bundle info: e6d2618 (prod); Bundle date: 24052420; Platform: web
Additional context
Simple enough workaround:
- Split the link into 2 parts: "h" and "ttps://......"
- Paste them individually
- Ta-da, expected behavior
seems to me the browser is copying both the URL and the page title, and because currently the composer isn't a plain text editor but rather a WYSIWYG editor pretending to be plain text, it has decided to paste the page title instead (in an attempt to get it to be a link)
I feel like we've had this issue before and the outcome was that we just don't know how to fix that yet, could you try seeing if Ctrl+Shift+V would give you the URL? that should get it to do a plain-text paste I believe.