Uncaught TypeError: Cannot read properties of undefined (reading 'eq')

1 Answer 111 Views
Editor Grid
Taekyung
Top achievements
Rank 1
Taekyung asked on 02 Oct 2024, 05:59 AM | edited on 02 Oct 2024, 05:59 AM

Hello, I'm a user here.

When I create some document work tools with kendo UI(react) that can edit grid and image at the same time, I found that I am getting the image resize error as below. And I am having a problem that I cannot save the resized image.

I also find the same problem in the example codes. (Images Resizing)

You can copy the image and paste it inside the grid, and you resize the image. Then you will find out the same error that I found.

How can I save the image size without getting this error?

I'd really appreciate if someone could give me some advice on this. Thank you.

Uncaught TypeError: Cannot read properties of undefined (reading 'eq')
    at DecorationGroup.eq (/node_modules/prosemirror-view/1.33.9/dist/index.cjs:3854:74)
    at NodeViewDesc.matchesNode (/node_modules/prosemirror-view/1.33.9/dist/index.cjs:1271:117)
    at EditorView.updateStateInner (/node_modules/prosemirror-view/1.33.9/dist/index.cjs:4860:47)
    at EditorView.updateState (/node_modules/prosemirror-view/1.33.9/dist/index.cjs:4830:12)
    at P.dispatchTransaction (/node_modules/@progress/kendo-react-editor/Editor.js:8:2418)
    at EditorView.dispatch (/node_modules/prosemirror-view/1.33.9/dist/index.cjs:5093:52)
    at setCellSelection (/node_modules/prosemirror-tables/dist/index.cjs:1450:12)
    at HTMLDocument.move (/node_modules/prosemirror-tables/dist/index.cjs:1472:7)

1 Answer, 1 is accepted

Sort by
0
Filip
Telerik team
answered on 04 Oct 2024, 05:29 AM

Hi, Taekyung,

Thank you for reaching out to us.

I tested the example with both image and table resizing and I was able to observe the same error.  This is an issue with the Editor component and I have logged it as such in our repo where its progress can be tracked and monitored:

https://github.com/telerik/kendo-react/issues/2547

Apologies for any inconvenience this might have caused you. As a small token of gratitude for bringing this issue to our attention I have granted you some Telerik points.

Regards,
Filip
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Editor Grid
Asked by
Taekyung
Top achievements
Rank 1
Answers by
Filip
Telerik team
Share this question
or