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/youtube) Youtube base URL no longer matches youtube node #4581

Closed
wants to merge 1 commit into from

Conversation

C-Hess
Copy link
Contributor

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

Please describe your changes

Simply changed the regex to only include youtube URLs if they have something beyond the base route:

youtube.com(\/.*)+

How have you tested your changes

Added automated tests and spot checked the youtube extension in the demo app

How can we verify your changes

Verify issue of an IFrame being created for the base youtube URL (youtube.com) no longer shows using the youtube extension demo

Checklist

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

Related issues

Fixes #4560

@netlify
Copy link

netlify bot commented Oct 30, 2023

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit accbd42
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/653f52d105f4400008b49f62
😎 Deploy Preview https://deploy-preview-4581--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.

@C-Hess
Copy link
Contributor Author

C-Hess commented Nov 7, 2023

Will be fixed under #4602

@C-Hess C-Hess closed this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG]: Youtube Extension: pasting "https://youtube.com" is considered a valid youtube link
1 participant