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

fix(extension/link) Fix wrong URLs applied when pasting more than one #4587

Closed
wants to merge 4 commits into from

Conversation

C-Hess
Copy link
Contributor

@C-Hess C-Hess commented Oct 31, 2023

Please describe your changes

Fixed an issue where posting more than one URLs in the same paste event causes all URLs to link to the first URL in the paste event.

How have you tested your changes

Created unit tests. Verified other link tests were succeeded. Some were failing but they seem unrelated to my changes

How can we verify your changes

Verify there are no unknown side effects with other mark pasting rules

Checklist

  • The changes are not breaking the editor
  • Added tests where possible
  • Followed the guidelines
  • Fixed linting issues

Related issues

#4541

Fixed an issue where posting more than one URLs in the same paste event
causes all URLs to link to the first URL in the paste event. I have not
yet validated the side effects of the change to other consumers of
markPastRule (bold, code, highlight, italic, and strike), nor have
written any tests yet
@netlify
Copy link

netlify bot commented Oct 31, 2023

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit e1f6a5f
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/656c2187d81cbf00088feca3
😎 Deploy Preview https://deploy-preview-4587--tiptap-embed.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

bdbch
bdbch previously approved these changes Nov 7, 2023
@bdbch bdbch changed the base branch from develop to main November 7, 2023 13:49
@bdbch bdbch dismissed their stale review November 7, 2023 13:49

The base branch was changed.

@bdbch bdbch changed the base branch from main to develop November 7, 2023 13:49
@C-Hess C-Hess changed the title [WIP] fix(extension/link) Fix wrong URLs applied when pasting more than one fix(extension/link) Fix wrong URLs applied when pasting more than one Dec 3, 2023
@C-Hess C-Hess marked this pull request as ready for review December 3, 2023 06:36
@C-Hess C-Hess requested a review from svenadlung as a code owner December 3, 2023 06:36
@C-Hess C-Hess mentioned this pull request Jan 3, 2024
4 tasks
@bdbch
Copy link
Member

bdbch commented Apr 6, 2024

Hey @C-Hess since we had this PR merged earlier:
#4700

Did you experience the bug you were solving with this PR in the more recent Tiptap versions? Otherwise I'd be happy to give it another review!

@nperez0111 nperez0111 force-pushed the develop branch 2 times, most recently from bcaef5c to 7e7ae19 Compare June 12, 2024 04:33
@bdbch bdbch deleted the branch ueberdosis:develop June 26, 2024 21:57
@bdbch bdbch closed this Jun 26, 2024
@bdbch bdbch reopened this Jun 27, 2024
@bdbch
Copy link
Member

bdbch commented Nov 30, 2024

Hey @C-Hess - could you verify if this is still relevant? I'll close this PR for now, feel free to reopen if you think this is still a relevant fix.

@bdbch bdbch closed this Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants