-
-
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
base: release
Are you sure you want to change the base?
Conversation
…ad` if previous row was not header row.
Fix incorrect move of table row containing only `th` elements to `thead` if previous row was not header row (v47.x)
| } | ||
|
|
||
| const { rows, headingRows, headingColumns } = scanTable( viewTable ); | ||
| const { rows, headingRows, headingColumns } = scanTable( viewTable, ignoreHeaderRowMoveIfNormalRowsBefore ); |
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.
packages/ckeditor5-table/src/tablecellproperties/commands/tablecelltypecommand.ts
Show resolved
Hide resolved
packages/ckeditor5-table/src/tablecellproperties/commands/tablecelltypecommand.ts
Show resolved
Hide resolved
| * @param writer The model writer. | ||
| * @param tableUtils The table utils plugin instance. | ||
| */ | ||
| function adjustHeadingAttributesWhenChangingToHeader( |
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.
Those helpers could be shared with the post-fixer. In reaction to cell types changes it modifies table attribute.
Update of the Table cell properties form UI.
…elltype Move table cell type setting logic to `TableUtils`
🚀 Summary
Feature branch that targets
47.xversion of the editor. Do not merge.PR for
v48version: #19446 (diff)Based on PoC: #19375
IMPORTANT: This PR should be merged to
masterbranch that targetsv47version of the editor.📌 Related issues
thsupport) #16730