Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Pasting multiple links throws an error #4819

Open
2 tasks done
rajatkapoor opened this issue Jan 22, 2024 · 1 comment
Open
2 tasks done

[Bug]: Pasting multiple links throws an error #4819

rajatkapoor opened this issue Jan 22, 2024 · 1 comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@rajatkapoor
Copy link

Which packages did you experience the bug in?

core, extension-link

What Tiptap version are you using?

2.1.16

What’s the bug you are facing?

When copying from a google doc containing multiple links ( ex: https://docs.google.com/document/d/140zdqhcbkZdpxicR6j81lXh4F_CFvi9Of5VOPFP1FN4/edit?usp=sharing) tiptap throws an error.
Screenshot 2024-01-22 at 6 42 45 PM

What browser are you using?

Chrome

Code example

https://codesandbox.io/p/sandbox/funny-payne-xn544l?file=%2Fsrc%2Findex.js

What did you expect to happen?

  1. Copy the full content from this google doc (or any google doc/ any other doc with multiple links): https://docs.google.com/document/d/140zdqhcbkZdpxicR6j81lXh4F_CFvi9Of5VOPFP1FN4/edit
  2. Paste into the tiptap editor in the editor at the codesandbox above
  3. You will see the error as shown in the screenshot below:
Screenshot 2024-01-22 at 6 52 58 PM

Anything to add? (optional)

This did not happen till version 2.1.12

Did you update your dependencies?

  • Yes, I’ve updated my dependencies to use the latest version of all packages.

Are you sponsoring us?

  • Yes, I’m a sponsor. 💖
@rajatkapoor rajatkapoor added Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels Jan 22, 2024
@github-project-automation github-project-automation bot moved this to Triage open in Tiptap Jan 22, 2024
@romansp
Copy link
Contributor

romansp commented Jan 31, 2024

Likely a duplicate of #4769, #4785.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
Status: Needs Triage
Status: Triage open
Development

No branches or pull requests

2 participants