-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Add table cell type support (CKEditor v47.x) #19445
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
Open
Mati365
wants to merge
75
commits into
master
Choose a base branch
from
ck/feat/table-cell-type-v47
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+4,549
−122
Open
Changes from all commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
05f7580
Add table cell type experimental flag.
Mati365 89e33cd
Rename experimental flag.
Mati365 8034fb0
Fix incorrect move of table row containing only `th` elements to `the…
Mati365 188d5b4
Merge pull request #19448 from ckeditor/ck/19431
Mati365 46bfcc8
Add basic converters and UI.
Mati365 a3ffbfa
Fix crashing table alignment.
Mati365 16dc1d1
Adjust editing plugin architecture.
Mati365 bce73cd
Adjust command structure.
Mati365 5f4d8d6
Adjust import
Mati365 b02c901
Adjust export
Mati365 0f62599
Adjust export
Mati365 27d7e5a
Fix compiler errors.
Mati365 0b492b4
Improve support for inserting new rows / columns.
Mati365 95b9dff
Simplify few places.
Mati365 46c4cea
Speedup postifxer.
Mati365 7014a93
Init basic testing.
Mati365 10a5dd9
Add reconversion tests.
Mati365 e0f28d6
Add tests for inserting table columns and rows
Mati365 9d808c0
Add more testing for reconversion.
Mati365 13729fb
Add testing for experimental flag.
Mati365 8fd3b8e
Add more testing, optimize postfixers.
Mati365 a82350d
Add more syncing tests.
Mati365 e29b6a4
Use commands in tests instead of raw attributes to make them more reu…
Mati365 6fa6bd6
Add command testing.
Mati365 5e9ff15
Add missing test.
Mati365 d2faf46
Adjust tests.
Mati365 7b84213
Unskip test.
Mati365 1924720
Adjust docs.
Mati365 c2c52fa
Fix too greedy column scanning algorithm
Mati365 f0d7fd2
Table cell properties form UI updated.
pszczesniak 6898313
Added stylesheet import in theme-lark.
pszczesniak 701b3c2
Tests and small code refactor.
pszczesniak 6a280c5
Merge branch 'ck/feat/table-cell-type-v47' into ck/19249
pszczesniak c3b0981
Merge pull request #19456 from ckeditor/ck/19249
pszczesniak 4472f59
Add default layout table value for table cell property command.
Mati365 21f3e64
Introduce new table utils methods.
Mati365 b8c0de2
Set cell type during insert and remove in table utils.
Mati365 3d44cfa
Restore some logic related to incrementing heading rows and heading cols
Mati365 6f08770
Use different API to set heading rows count.
Mati365 904a8bd
Extract table cell type refresh handler to different file.
Mati365 c2bec78
Unify plugins.
Mati365 9fbbb34
Fix mod name.
Mati365 4a4944f
Minor realign functions.
Mati365 9e24b44
Extend API methods.
Mati365 933d3a5
Prevent possible crashes.
Mati365 d67e2d6
Fix more edge cases.
Mati365 8ed83d1
Fix more crashes.
Mati365 f5d80e9
Rename attribute.
Mati365 a455da1
Adjust testing.
Mati365 1630d59
Fix failing tests.
Mati365 3202f2d
Add more editing tests.
Mati365 086faa7
Add more tests for inserting rows / columns.
Mati365 661014d
Add more tests.
Mati365 c4dfc2a
Init testing for table utils cell type support.
Mati365 969fb85
Add more testing.
Mati365 9646637
Merge pull request #19463 from ckeditor/ck/extend-tableutils-to-set-c…
Mati365 f9505e2
Add test for edge case.
Mati365 0ef92f0
Disable `tableCellType` command on layout tables.
Mati365 6a239fe
Disable cell type UI dropdown if command is disabled.
Mati365 f4e5b13
Merge branch 'master' into ck/feat/table-cell-type-v47
Mati365 8ebf89d
Add UI package coverage.
Mati365 255f43c
Add RTC conflicts resolution to table cell type. (#19475)
Mati365 62cd55a
Restore few things.
Mati365 ba3efe9
Better reuse of code.
Mati365 100fcb3
Add few more tests.
Mati365 49e67f2
Fix incorrect behavior of UI when selected multiple cells of differen…
Mati365 2265bc1
Minor postfixer fix.
Mati365 ad7fa5d
Disable redundant refresh handler.
Mati365 5768fa6
Fix options.
Mati365 97d31cf
Strict table cell type support checks.
Mati365 5eb03f1
Disable table cell type attribute upcasting for layout tables.
Mati365 571d6d1
Adjust checks.
Mati365 0a3d9ab
Adjust upcasting of layout tables.
Mati365 7e69d63
Move cell refresh handlers.
Mati365 1af2b2d
Adjust manual test.
Mati365 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| type: Fix | ||
| scope: | ||
| - ckeditor5-table | ||
| closes: | ||
| - https://github.com/ckeditor/ckeditor5/issues/19431 | ||
| --- | ||
|
|
||
| Add experimental fix for incorrect table rows marking and moving as header row when preceding rows are not header rows. | ||
|
|
||
| This change needs to be enabled by setting `experimentalFlags.tableCellTypeSupport` to `true`. In the next major release, this flag will be removed and the fix will be enabled by default. |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
I'd consider this a fix, not a breaking change, so the experimental flag is not needed here.