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
When using the TableExtension in combination with the LinkExtension with autoLink set to true copying a column of data from one table to another results in a nested table being pasted, instead of the column contents spanning multiple rows.
Steps to reproduce
Setup a remirror editor with the following extensions:
Insert a table (3x3), enter data into the table that looks something like this:
Copy the first column of data, create another 3x3 table, and paste into the top cell of one of the columns.
Expected results
I would expect the pasted column data to be inserted across the same number of rows I copied from like this:
Actual results
A new table is pasted inside the cell that I have pasted into, like this:
Possible Solution
I suspect, though I have not confirmed, that maybe the link extension is doing something to the data being pasted, but not handling the paste event, so by the time the table extension handles the event it's getting malformed data? I will hopefully have time to investigate this theory tomorrow.
If I disable autoLink, or remove the LinkExtension from my extension list, the copy/paste from one table to another always works.
The text was updated successfully, but these errors were encountered:
Summary
When using the TableExtension in combination with the LinkExtension with autoLink set to
true
copying a column of data from one table to another results in a nested table being pasted, instead of the column contents spanning multiple rows.Steps to reproduce
Setup a remirror editor with the following extensions:
Insert a table (3x3), enter data into the table that looks something like this:
Copy the first column of data, create another 3x3 table, and paste into the top cell of one of the columns.
Expected results
I would expect the pasted column data to be inserted across the same number of rows I copied from like this:
Actual results
A new table is pasted inside the cell that I have pasted into, like this:
Possible Solution
I suspect, though I have not confirmed, that maybe the link extension is doing something to the data being pasted, but not handling the paste event, so by the time the table extension handles the event it's getting malformed data? I will hopefully have time to investigate this theory tomorrow.
If I disable
autoLink
, or remove the LinkExtension from my extension list, the copy/paste from one table to another always works.The text was updated successfully, but these errors were encountered: