-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[WIP] Enable table cell merge and unmerge #17261
base: trunk
Are you sure you want to change the base?
Conversation
Hey @adamsilverstein, it's great that you're taking a look at this. I have a couple of PRs lined up for the table block that have some crossover, and it'd be great to think about how they could work together. See:
One of the things I was heading towards is having a single type of selection object (#16493 implements this, but needs some tidy-up):
I think this could be applied in your code, the
Or
#16493 also implements CSS rules for showing borders around multi-cell selections which might be useful for this PR. |
Looks like this has gotten stale. Any chance it can be picked up again, @talldan @adamsilverstein ? |
I would love to @mapk, thanks for the ping! I'll put this on my list. |
@adamsilverstein I probably won't be able to revisit #16493 any time soon. With the table block, I'm wondering whether the time is right to start focusing more on looking at solutions that involve inner blocks, like described in #18768. What do you think? My concern is that if we add more features like cell merging, the transition to using inner blocks becomes more difficult as those features then have to be adapted to also work with inner blocks. |
So this PR would first transition to using inner blocks as table cells and then (re)implement the merging? |
@adamsilverstein any thoughts on switching up the approach on this to use inner blocks as @talldan referenced is a potential option discussed in #18768? |
@jeffpaul Probably makes sense although I haven't looked at the way inner blocks work carefully enough to be sure. My effort here stalled and I have been focused elsewhere, so I welcome any contributions/help./ |
I'd love to see this actually merged. What's the current status/ plan? Thanks! |
@adamsilverstein I'm working on your proposal by my own (I don't want to promise anything yet!), but I found a bug. |
Closes #15821
Description
The following features encompass table cell merging and unmerging.
How has this been tested?
Screenshots
Types of changes
Checklist: