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

Error new line in v 2.11.1 prosemirror-model duplicates #134

Closed
flahol opened this issue Feb 2, 2020 · 3 comments
Closed

Error new line in v 2.11.1 prosemirror-model duplicates #134

flahol opened this issue Feb 2, 2020 · 3 comments
Labels
prosemirror tiptap wontfix This will not be worked on

Comments

@flahol
Copy link

flahol commented Feb 2, 2020

In version 2.11.1 there is a little bug.

When you hit ENTER for a new line it does not work and throws an error.
Although it works if the cursor is not at the end but between 2 letters.

Error message :
RangeError: Can not convert <> to a Fragment (looks like multiple versions of prosemirror-model were loaded)
I have 2 dependencies : prosemirror-model 1.9.1 and prosemirror-model 1.8.2

@iliyaZelenko
Copy link
Owner

Try to delete node_modules folder and lock file. If you have prosemirror-model in your package..json, it’s better to remove it, unnecessary packages should go with my package tiptap-vuetify. And I think you should not have two different versions of prosemirror-model.

@iliyaZelenko iliyaZelenko added the question Further information is requested label Feb 4, 2020
@iliyaZelenko
Copy link
Owner

iliyaZelenko commented Feb 4, 2020

I see this problem in my demo. Ok, I will think.

Edit: Looks like here is the same problem. You can find workaround there.

@iliyaZelenko iliyaZelenko added bug Something isn't working and removed question Further information is requested labels Feb 4, 2020
iliyaZelenko pushed a commit that referenced this issue Feb 15, 2020
## [2.12.1](v2.12.0...v2.12.1) (2020-02-15)

### Bug Fixes

* **tiptap dependecies:** conflicts ([9c679e4](9c679e4)), closes [#134](#134)
@iliyaZelenko
Copy link
Owner

I tried to solve this problem at the level of my package, but it failed. You must manually do what is written in the solution for your project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prosemirror tiptap wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants