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

add optionalSlashSlash to protocol options #3675

Merged
merged 7 commits into from
Feb 27, 2023
Merged

add optionalSlashSlash to protocol options #3675

merged 7 commits into from
Feb 27, 2023

Conversation

taras-turchenko-moc
Copy link
Contributor

Why?

I need to link tel:12312312. linkifyjs can find mailto out of box but not tel however it can be done via custom protocol with optionalSlashSlash enabled

Updated linkifyjs from v3.0.5 to 4.1.0

Some breaking changes (changelist)

  1. Dropped support of ie11 and safari10
  2. Links that begin with mailto: now have type url instead of email

Changed Link extension

  1. Added new custom protocol options
  2. Updated protocols documentation

@netlify
Copy link

netlify bot commented Jan 30, 2023

Deploy Preview for tiptap-embed ready!

Name Link
🔨 Latest commit 93d66eb
🔍 Latest deploy log https://app.netlify.com/sites/tiptap-embed/deploys/63f346d163f70c00085c4e2a
😎 Deploy Preview https://deploy-preview-3675--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 settings.

Copy link
Contributor

@bdbch bdbch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Just two minor things. Otherwise looks good!

packages/extension-link/package.json Show resolved Hide resolved
packages/extension-link/src/link.ts Outdated Show resolved Hide resolved
@bdbch bdbch self-requested a review February 7, 2023 15:34
bdbch
bdbch previously approved these changes Feb 7, 2023
bdbch
bdbch previously approved these changes Feb 9, 2023
@bdbch
Copy link
Contributor

bdbch commented Feb 9, 2023

Looks good @taras-turchenko-moc could you resolve the conflict so we can merge this?

@taras-turchenko-moc
Copy link
Contributor Author

@bdbch done

@taras-turchenko-moc
Copy link
Contributor Author

Somewhy tests failed on GitHub actions but locally it works fine. I use node v18 so I regenerated changes to package-lock with node v16. Maybe there is some conflict of versions

@bdbch
Copy link
Contributor

bdbch commented Feb 18, 2023

Could you resolve the conflict again? I'll merge afterwards

@taras-turchenko-moc
Copy link
Contributor Author

I wanna cry 🥲

@taras-turchenko-moc
Copy link
Contributor Author

@bdbch Merged again

@taras-turchenko-moc
Copy link
Contributor Author

@bdbch Hi! Can you take a look?

@bdbch bdbch merged commit 1ac3070 into ueberdosis:main Feb 27, 2023
aliasliao pushed a commit to aliasliao/tiptap that referenced this pull request May 24, 2023
* add optionalSlashSlash to protocol options

* Update documentation

* rename optionalSlashSlash to optionalSlashes

* regenerate package-lock.json with node v16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants