You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
in incognito chrome page, setInterval insert innerText on chrome dev console in first table cell to simulate edit
for example, setInterval(() => { document.querySelector('td').innerText += "1" }, 1000 )
in chrome page, resize the table column
chrome page collapse
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.
The text was updated successfully, but these errors were encountered:
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/
for example, setInterval(() => { document.querySelector('td').innerText += "1" }, 1000 )
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.
The text was updated successfully, but these errors were encountered: