-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Describe the bug
When using the editor (e.g. using ENTER key) it's not working, and we got error in the console:
Can not convert <> to a Fragment (looks like multiple versions of prosemirror-model were loaded)
Due to [email protected] and [email protected] loaded simultaneously.
tiptap-extensions package requires strictly version 1.8.2 and other packages prosemirror-model@^1.0.0, prosemirror-model@^1.1.0, prosemirror-model@^1.8.1 which resolves to 1.9.0
Steps to Reproduce / Codesandbox Example
Steps to reproduce the behaviour:
- install
"tiptap": "^1.27.1",
"tiptap-extensions": "^1.29.1"
with Yarn. This will install [email protected] and [email protected].
- When using the editor (e.g. using ENTER key) it's not working, and we got error in the console
Expected behaviour
Editor should work, there should be only one prosemirror-model package installed.
Quick and dirty workaround for users (it's not proper fix!) - use resolutions entry in package.json:
"resolutions": {
"prosemirror-model": "1.9.1"
}
Then remove node_modules, yarn.lock and install packages again.
ageeye-cn, kevinmarrec, EricRabil, li3081934, njoguamos and 132 moreakirarika, KNTH01, kathirr007, Scribblerockerz, maksnester and 8 morenicooprat, dkotik, azoom-t-d-tuan, xtt2013, iryna1 and 4 morekathirr007, minestarnl, bgrand-ch, iryna1, evbo and 4 moreminestarnl, erickwilder, bgrand-ch, evbo, dbousamra and 3 moremaksnester, Sogl, dkotik, joshfoskett, madebycaliper and 8 more
Metadata
Metadata
Assignees
Labels
No labels