Skip to content

[Block] Table - Border width 0 does not remove cell borders in Gutenberg 15.4 #49594

@cuemarie

Description

@cuemarie

Description

The border of the table block keeps showing even when the border settings is set to 0 PX.

Step-by-step reproduction instructions

  1. Insert a Table block in a post
  2. Set the border value to zero PX under the Block Settings
  3. Preview/view the post

Screenshots, screen recording, code snippet

Setup

Markup on 2023-04-04 at 15:35:02

Results

Markup on 2023-04-04 at 15:33:51


By comparison, if I deactivate Gutenberg 15.4, the borders are hidden when set to 0px:
Markup on 2023-04-04 at 15:48:51

Markup on 2023-04-04 at 15:49:17

Environment info

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Labels

[Block] TableAffects the Table Block[Type] RegressionRelated to a regression in the latest release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions