Gutenberg: Table block: Merge/Unmerge cells

Created on 24 May 2019  路  17Comments  路  Source: WordPress/gutenberg

The Table block does not provide a way to merge or unmerge cells. It's a popular feature request for the Table block, let's see if we can make this happen. 馃槈

Something similar to this (Google Docs):

merge

We can expose this action in the dropdown similarly to how we display the other actions.

merge-cells

Needs Dev [Block] Table [Type] Enhancement

Most helpful comment

Thanks for the reminders, I'll try to pick up work on https://github.com/WordPress/gutenberg/pull/17261 or parallel efforts soon.

All 17 comments

This request was noted here: https://github.com/WordPress/gutenberg/issues/6923 by @helen.

Thanks so much for helping define these tasks @mapk! Would definitely be great to get this in.

Some tangible steps could be taken towards cell merging:

  • Support the colspan attribute on the underlying HTML (would at least allow merged cells for pasted tables, or those edited in the HTML editor. This is the basic foundation needed for the cell merging feature to work)
  • Cell navigation and selection needs to be improved (keyboard navigation, multiple cell selection). I started working on keyboard nav, so will hopefully have a PR incoming for that, but haven't had that much time lately to work on things.

Hello here, this feature is really missing indeed, especially in a B2B context ! I can't wait for it. I'm a php / JS dev, I'd be happy to help !
Thanks a lot

Would it be a good start to allow html editing with colspan & rowspan attributes ?

The same feature was requested on the Gutenberg plugin forum:
https://wordpress.org/support/topic/table-block-no-cell-merging/

So nothing yet?

Confirming that this would be a great addition to the table block.

Thanks for the reminders, I'll try to pick up work on https://github.com/WordPress/gutenberg/pull/17261 or parallel efforts soon.

we would definitely need this feature too

Reported also on core Trac, see https://core.trac.wordpress.org/ticket/50071

@adamsilverstein Is there something we can help you with? Are there any blockers?

How can I find out the status of this issue?

Is it possible to add list block inside table? like innerblock or something.

This is such a common use case that it's frustrating that it's not already there. I tried to add rowspan by converting to HTML but it makes the table block invalid.

Guten Team, please look into this 馃檹

Mark me down as another request. I've got a few hundred staff members that are using your tables on our site and would like to be able to do this.

Gutenberg team, are you listening anybody?!

@sergeiermilov yes, the team is listening and there's a work-in-progress PR for this so if this is something or urgent and/or important need for you then please see how you can help on that PR.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JohnPixle picture JohnPixle  路  3Comments

davidsword picture davidsword  路  3Comments

aduth picture aduth  路  3Comments

mhenrylucero picture mhenrylucero  路  3Comments

jasmussen picture jasmussen  路  3Comments