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

When I input characters, there will be errors in core js #2085

Closed
1 of 2 tasks
Cuimc opened this issue Oct 26, 2021 · 1 comment
Closed
1 of 2 tasks

When I input characters, there will be errors in core js #2085

Cuimc opened this issue Oct 26, 2021 · 1 comment
Labels
Type: Bug The issue or pullrequest is related to a bug

Comments

@Cuimc
Copy link

Cuimc commented Oct 26, 2021

What’s the bug you are facing?

Sorry, I updated all dependencies to the latest version last night.
Then, I get an error when I randomly type a character in the editor.
I also found the related Issue #1997.
But I still can’t figure out how to fix this problem.

I use VUE3

This is my package.json:
`
"@tiptap/core": "^2.0.0-beta.128",

"@tiptap/extension-bold": "^2.0.0-beta.19",  
"@tiptap/extension-bullet-list": "^2.0.0-beta.18",  
"@tiptap/extension-document": "^2.0.0-beta.13", 
"@tiptap/extension-history": "^2.0.0-beta.16", 
"@tiptap/extension-image": "^2.0.0-beta.19", 
"@tiptap/extension-link": "^2.0.0-beta.23", 
"@tiptap/extension-list-item": "^2.0.0-beta.14", 
"@tiptap/extension-mention": "^2.0.0-beta.79", 
"@tiptap/extension-ordered-list": "^2.0.0-beta.19", 
"@tiptap/extension-paragraph": "^2.0.0-beta.17", 
"@tiptap/extension-subscript": "^2.0.0-beta.4", 
"@tiptap/extension-text": "^2.0.0-beta.13", 
"@tiptap/extension-text-style": "^2.0.0-beta.17", 
"@tiptap/extension-underline": "^2.0.0-beta.16", 
"@tiptap/vue-2": "^2.0.0-beta.60", 
"@tiptap/vue-3": "^2.0.0-beta.72", 
"tippy.js": "^6.3.1", ` 

this is my code:
image

this is my bug
image

How can we reproduce the bug on our side?

I don’t know if anyone else has this problem.
But I think after upgrading the above dependencies to the latest, this problem reappeared

Can you provide a CodeSandbox?

No response

What did you expect to happen?

I hope you can help me.

Anything to add? (optional)

No response

Did you update your dependencies?

  • Yes, I’ve updated my dependencies to use the latest version of all packages.

Are you sponsoring us?

  • Yes, I’m a sponsor. 💖
@Cuimc Cuimc added the Type: Bug The issue or pullrequest is related to a bug label Oct 26, 2021
@philippkuehn
Copy link
Contributor

philippkuehn commented Oct 26, 2021

if you see this error, some of your extensions is using an input rule from prosemirror-inputrules. update your dependencies and use input rules provided by @tiptap/core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug The issue or pullrequest is related to a bug
Projects
None yet
Development

No branches or pull requests

2 participants