-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Pasting table into a selected table fragment (bigger then one cell) #6120
Comments
Should we alter
|
Fun fact – insertContent() is observable and works on that level of abstraction exactly because of tables :D I had exactly tables in mind when forcing exposing this util 4 years ago. I now keep my fingers crossed for it to work in this case 🤣 |
Edge cases (possible follow ups):
Cases 2 & 3 looks like easy to handle as only different check is required. Case 1 requries cropping selection from table - might be harder. |
Document MINOR BREAKING CHANGE: removed |
Moved to a follow-up: #6769. |
Feature (table): Introduce pasting tables into a selected table fragment. Closes #6120. MINOR BREAKING CHANGE: The `cropTable()` utility method was removed. Use `cropTableToDimensions()` instead.
📝 Provide a description of the new feature
Requires only #6113 to be finished beforehand.
When pasting a table into a selected table fragment three scenarios might occur:
Scenario 1: Current table content is cleared (potentially linked to #6119) and replaced by the content of a pasted table.
Scenario 2: Only the part of the pasted table that matches the selection will be pasted into the editor.
Scenario 3: Pasted table data will be replicated in the column by column, then row by row fashion.
Scenario 1 should be addressed first. Scenario 2 & 3 might be moved to a follow-up. Scenario 2 & 3 should be then blocked.
If you'd like to see this feature implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: