[Bug]: Negative lookahead prevents loading on Safari on iOS 15.7 #5948
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
Affected Packages
extension-code
Version(s)
2.10.4
Bug Description
These lines cause Safari to fail to load the page on these older versions:
tiptap/packages/extension-code/src/code.ts
Lines 45 to 51 in d735cf3
Browser Used
Chrome
Code Example URL
No response
Expected Behavior
Safari on iOS 15.7 is supported.
Last known working in
2.10.0
Additional Context (Optional)
Presumably first broken here: f79c05e
This can be worked around for a "best of both worlds" approach - but it's probably best done one a project-wide level rather than locally in the file so I'm not sure how the team will want to handle this.
We use an approach like this:
checkLookBehindSupport.js
and then wherever else in the project:
Dependency Updates
The text was updated successfully, but these errors were encountered: