-
-
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
rules[i].match.exec is not a function #2026
Comments
which versions of tiptap do you use? I think updating to the latest versions should help. |
I was using the latest version. Downgrading to 2.0.0-beta.15 it works as expected |
can you post the content of your yarn or npm lock file please? |
I am getting basically the same error I think index.es.js:76 Uncaught TypeError: r[d].match.exec is not a function |
|
Just to confirm: I faced the exact same bug (a huge coincidence that this happened to three person the same day), and updating the packages resolved the issue. |
There was a breaking change a few days ago so I was expecting some reports #1997 |
@andreavaccari yeah these are not the latest versions. |
@GatekoNeko141 Yes, you have the same problem because you also did not update your dependencies. |
What’s the bug you are facing?
I get rules[i].match.exec is not a function when trying to use with react
Uncaught TypeError: rules[i].match.exec is not a function
at run (index.es.js:76)
at Plugin.handleTextInput (index.es.js:51)
at index.es.js:2778
at EditorView.someProp (index.es.js:5011)
at readDOMChange (index.es.js:2778)
at DOMObserver.handleDOMChange (index.es.js:3388)
at DOMObserver.flush (index.es.js:3301)
at MutationObserver.DOMObserver.observer (index.es.js:3168)
How can we reproduce the bug on our side?
Add tiptap and add Image extension, try to write something in the editor
Can you provide a CodeSandbox?
No response
What did you expect to happen?
TiptapE
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: