-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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]: Invalid regular expression: invalid group specifier name (introduced in 2.10.3) #5889
Comments
Same here: |
Would happily accept a PR to address this |
This issue was fixed in #5916. I guess we're waiting on that to be released. |
Yes, we queue releases. If you need it now, you can use the PR's version: #5916 (comment) |
Any timeline on when the next version of tiptap will be released? |
No, we release when we feel ready. Please refer to my previous comment above
|
Hi guys ! For your information, we have the same problem with Tiptap and the code extension in version |
Whoops I see I've duplicated this issue in #5948. I've closed it as a duplicated, but I've suggested a more robust approach there that brings the best of both worlds. |
I think this was already released though and issues persist? So now I'm not sure I've really duplicated the issue. Anyway, sorry, that's enough cluttering your inboxes. Looking forward to a resolution. |
Affected Packages
extension-code
Version(s)
2.10.3
Bug Description
The TipTap code extension fails to load on Safari versions below 16 due to the following error:
Invalid regular expression: invalid group specifier name.
This issue prevents the file from being loaded and stems from an incompatible regex introduced in this commit:
ueberdosis/tiptap commit f79c05e.
The regex uses named capturing groups and lookbehind assertions, which are not supported in Safari versions earlier than 16.
Browser Used
Safari
Code Example URL
No response
Expected Behavior
The file should load correctly.
Rewritten Regex
Original:
Rewritten Without Lookbehind:
Additional Context (Optional)
No response
Dependency Updates
The text was updated successfully, but these errors were encountered: