-
-
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
Fix(table): Add table footer support #14276
base: master
Are you sure you want to change the base?
Conversation
Working on resolving the conflicts. |
I found one test case in Update: Done. |
We will try to take a look at this soon! |
Just want to note that the current code assumes that all children of I will be taking a look at this soon and likely updating so that only cells in a footer row that are also in a header column are output as |
Updated to make table footer cells downcast to Edit: I'm still reviewing the whole PR to see if there are other pieces that need to be updated to reflect the |
6e52f55
to
0d165a7
Compare
I've reviewed everything again, and updated the logic inside This is ready again for review and feedback. |
@Witoso please let me know if there's anything else I can do at this point. |
Hey, sorry for keeping this open for so long. I need to carve out some time in the team to take a look at this, and we are in the middle of some complex topics. CC @arkflpc to discuss the best time. |
Any updates about support of tfoot in ckeditor? |
Same question 👀 |
To folks who are commenting checking on this, I appreciate you, and also I highly recommend that you click the thumbs up reaction in the original comment here. |
Sorry for keeping this open for so long 🙏 . We are battling some end-of-the-year priorities. I hope we will be able to take this to our sprint really soon. |
3e2724d
to
7649b74
Compare
01d9582
to
b04dd8b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
bfd337f
to
5344d20
Compare
…e footers (`<tfoot>`). Closes ckeditor#12952.
…ss in a heading column
Any updates about when we can expect this to be merged in to master? |
We have a plan to work and merge together a few larger tables changes, but we don't have yet clear timeline yet. |
Suggested merge commit message (convention)
Fix(table, html-support, source-editing, style): Add support for table footers (
<tfoot>
). Closes #12952.MINOR BREAKING CHANGE (table): Conversion helper
downcastTableElement()
now requiresTableUtils
as the last argument.MINOR BREAKING CHANGE (table):
tableHeadingsRefreshHandler()
now requiresTableUtils
as the last argument.Additional information
Example
<tfoot>
markup: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfootMaybe this is more of a feature than a fix, but at the same time this is just standard HTML support.
I have intentionally not tried to build any UI around managing table footers at this point, and have not added a SetFooterRowCommand. In my opinion, this proposed set of changes can go in (after review of course) and more UI functionality can be added later.
In addition, I have not tried to add configurable default footer rows to match the "default table headers" feature. The scope already seemed big enough without adding that, and I think it can be added later (I'm not sure there is much use case anyway).
Credits
This work was sponsored by @ongov.