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

Uncaught RangeError: Duplicate use of selection JSON ID cell #381

Closed
wdsmaduranga opened this issue Jul 15, 2021 · 6 comments
Closed

Uncaught RangeError: Duplicate use of selection JSON ID cell #381

wdsmaduranga opened this issue Jul 15, 2021 · 6 comments

Comments

@wdsmaduranga
Copy link

app.js:120537 Uncaught RangeError: Duplicate use of selection JSON ID cell
at Function.jsonID (app.js:120537)
at Object../node_modules/prosemirror-tables/dist/index.js (app.js:122088)
at webpack_require (app.js:181621)
at Object../node_modules/prosemirror-utils/dist/index.js (app.js:125452)
at webpack_require (app.js:181621)
at Module../node_modules/element-tiptap/lib/element-tiptap.esm.js (app.js:13426)
at webpack_require (app.js:181621)
at Module../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/admin/News.vue?vue&type=script&lang=js& (app.js:4475)
at webpack_require (app.js:181621)
at Module../resources/js/components/admin/News.vue?vue&type=script&lang=js& (app.js:148365)

@jiakangning
Copy link

jiakangning commented Aug 16, 2021

@sankamaduranga , 我看了下源码,打印了一下pk的tree结构,找到了问题所在,主要是table版本不一致导致的冲突,在element-tiptap中引入了prosemirror-utils包,而此包依赖于prosemirror-tables的0.9.1
image

tiptap v1其他包均依赖prosemirror-tables的1.1.1版本,所以会在当前项目中产生俩个版本不同的依赖包造成冲突

@Krlinhos
Copy link

Krlinhos commented Nov 8, 2021

Hello,
I have the same issue with "element-tiptap": "^1.26.2",

Any solution?

Thanks

github-actions bot pushed a commit that referenced this issue Dec 17, 2021
## [1.27.1](https://github.com/Leecason/element-tiptap/compare/@1.27.0...@1.27.1) (2021-12-17)

### Bug Fixes

* fix "Duplicate use of selection JSON ID cell" ([ac098d7](ac098d7)), closes [#381](#381) [#324](#324) [#375](#375) [#66](#66)
@Leecason
Copy link
Owner

🎉 This issue has been resolved in version 1.27.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@BramEsposito
Copy link

This is still an issue if you use npm. Re-installing with yarn did work though

@yatkolenko
Copy link

any updates here ? still have this error if install with npm

@Realybig
Copy link

今天还是有这个问题已经是1.27.1版本了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants