-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Uncaught RangeError: Adding different instances of a keyed plugin (plugin$) #2631
Comments
The mistake happened in "node_modules/@toast-ui/editor/node_modules/prosemirror-state/dist/index.es.js" Line 761 |
I also had the same thing happen. In codesandbox, downgrading to version 3.1.8 is fine, but when running locally, any version gives an error. |
I also have this problem, running locally is fine, running online will report this error |
next 12.2.2 패키지 매니저를 npm 으로 바꾸니 정상으로 작동합니다 |
저도 yarn berry 에서 그랬었습니다. |
Having the same issues with the I had to downgrade both the vue-editor and add a yarn resolution to also force the tui editor itself to {
"dependencies": {
"@toast-ui/vue-editor": "3.1.8",
}
"resolutions": {
"@toast-ui/editor": "3.1.8",
}
} |
using angular 13, i get the error in the developers console and the editor is not rendered. i backed off to the previous version of 3.1.1 core.mjs:6494 ERROR RangeError: Adding different instances of a keyed plugin (plugin$) Also have typescript errors that i have to shutoff in order to build Build at: 2022-07-29T20:11:02.797Z - Hash: 82ac0583d09b2ca6 - Time: 9906ms Error: node_modules/@toast-ui/editor/types/editor.d.ts:307:47 - error TS2707: Generic type 'Plugin' requires between 0 and 1 type arguments. 307 createKeymaps(useCommandShortcut: boolean): Plugin<any, any>[]; Error: node_modules/@toast-ui/editor/types/spec.d.ts:4:10 - error TS2459: Module '"prosemirror-commands"' declares 'Command' locally, but it is not exported. 4 import { Command } from 'prosemirror-commands'; node_modules/prosemirror-commands/dist/index.d.ts:2:10 Error: node_modules/@toast-ui/editor/types/spec.d.ts:40:14 - error TS2707: Generic type 'Plugin' requires between 0 and 1 type arguments. 40 keymaps(): Plugin<any, any>[]; |
Use npm install --save @toast-ui/editor |
I apologize for any inconvenience. The problem you mentioned is being checked, and I'll fix it and publish a new version by 12 Aug at the latest. I would appreciate it if you could use version 3.1.8 in the meantime, even if it is inconvenient. |
I can now use the latest editor 3.1.10 in angular 13.
|
This is also broken with Vue, downgrading to 3.1.8 solves the issue for now. |
|
* env: update prosemirror versions * chore: fix types according to prosemirror updates * chore: remove something added to DOM by prosemirror * test: fix tests following prosemirror updates * chore: fix type errors * chore: apply code reviews test: fix failing tests chore: implement method that was not chore: remove unused utility function * chore: change npm ci to npm install in ci test workflows
when i use @toast-ui/react-editor in react project , i got this bug:
Uncaught RangeError: Adding different instances of a keyed plugin (plugin$)
The text was updated successfully, but these errors were encountered: