Pasting doesn't allow commas in pasted url
See original GitHub issueDescribe the bug
Pasting a valid url like https://tiptap.dev?abc=xyz,test
auto links only up to the comma even though the whole pasted value is a valid url.
Steps to Reproduce / Codesandbox Example Steps to reproduce the behavior:
- Paste a valid url with a comma in it into the editor e.g.
https://tiptap.dev?abc=xyz,test
- Tiptap creates a link that doesn’t include the comma and beyond
Expected behavior Expect the entire valid url with the comma to be auto linked
Screenshots
After pasting:
Environment
- OS: Windows 10
- Browser: Firefox
- Version: 1.29.4
- Mobile / Desktop: Tested on desktop
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Pasting a URL into Mail
While yes, for URLs you can go into the "Insert" -> "URL" then paste the url into a popup box, the fact that...
Read more >Paste into input boxes, breaking at newlines or commas
My current idea is to use a textarea, and prepending a HTML5 <input type="url"> element when detecting (since these automatically validate the string...
Read more >copy paste - Why does Notepad++ turn commas into ...
I have a report from someone asking a programming question on StackOverflow that when they pasted valid code [(1 ...
Read more >Copy-paste tables from website - comma issue Solved
Any suggestions as to how to copy-paste tables from websites and have the comma removed (or changed to into a dot) ?
Read more >Numeric copy/paste problem(comma/point)
If I paste 12.45 it works and I get 12,45, but this doesn't solve my problem in Germany. If I use the RadMaskedTextBox...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@philippkuehn We were using Preact and for performance reasons we are migrating back to React, because of React 18 improvements. A teammate was suspicious about Preact being the culprit on this issue and it was. I had issues with Preact compatibility with other input-related libraries in the past, so I guess it is not worth it handling that. Thank you for the amazing work and support and sorry for flooding here 😬
@aquelehugo yes, please. we are using linkify for url detection, so I think we can’t do here anything. but let’s see.