-
-
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
Support col[span]
and pt
s in paste from excel
#14720
Merged
mlewand
merged 16 commits into
master
from
ck/14521-support-cell-widths-in-paste-from-excel
Aug 14, 2023
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
5c36a10
Add support for col[span] and custom units in the col width.
Dumluregn 2e94961
Cleanup.
Dumluregn bdc5d79
Rename model property.
Dumluregn 4ea383a
Extract helper.
Dumluregn 661e1da
Refactor.
Dumluregn ebe6013
Add unit tests.
Dumluregn 9197a7e
Update docs.
Dumluregn 41ea609
Add issue references [skip ci].
Dumluregn 09c3645
Merge branch 'master' into ck/14521-support-cell-widths-in-paste-from…
Dumluregn b1fd583
Handle the problem with empty columns.
Dumluregn ae9cbdf
Remove stray console.log().
Dumluregn 4e7c664
Add unit test for clipboard integration.
Dumluregn 2b22b6f
Add comment and improve precision.
Dumluregn e321628
Merge remote-tracking branch 'origin/master' into ck/14521-support-ce…
mlewand 5334cbe
Merge branch 'master' into ck/14521-support-cell-widths-in-paste-from…
Dumluregn 07dfbcb
Apply code review notes.
Dumluregn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not triggering column width normalization for such case:
And the final table ends up like this:
so
pt
values are treated as they would be%
, the table gets full page width and the original sizes are not preserved.The column width is normalized in post-fixer (but should be normalized before post-fixers are triggered).