Open zlv-thisF opened 3 years ago
Is there a way to fix this issue?
This looks like a combination of https://github.com/ProseMirror/prosemirror-tables/issues/141 and #113
This looks like a combination of ProseMirror/prosemirror-tables#141 and #113
thanks a lot!
Describe the bug if anyone is resizing the table columns, and others are keep typing in the table, prosemirror collapse due to unexpected position after tr.mapping
To Reproduce Steps to reproduce the behavior: https://codesandbox.io/s/relaxed-herschel-el656?file=/src/App.js site: https://el656.csb.app/
Expected behavior The columnResizing in prosemirror-table can get correct position instead of null which lead to error in handleDecorations.
Screenshots
Additional context It seems that after editor got update from server, yjs will turn the whole yXmlElement into prosemirror's slice, so tr.mapping cannot get correct position derivation from the tr.steps.