Skip to content

Table block column alignment is not working properly. #67359

@viralsampat-multidots

Description

@viralsampat-multidots

Description

Hello Team,

I have checked "Table Block" and found that "Column Alignment" is not working properly throughout the table. When we try to change "Column Alignment" to "Align Right" using tool "Change column alignment" setting, It change only first column or selected column where our cursor exists.

I think that it should change entire table column alignment instead of any particular column.

Step-by-step reproduction instructions

  • Type / to choose a block
  • Select Table block
  • Insert column/row data
  • Change table column alignment to "Align Right"
  • Save the changes and publish the page.
  • View the editor side & front-end side.

I have prepared its video, I have attached it for reference.

Issue Video:
https://github.com/user-attachments/assets/e912058d-81f0-457f-bfa1-61675f29c5ec

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress version: WordPress 6.6.2 running,
  • Themes:
    • Twenty Twenty-Two: Version: 1.9
    • Twenty Twenty-Four: Version: 1.3
    • Twenty Twenty-Five Version: 1.0
  • Browser: Google Chrome, Version 131.0.6778.86 (Official Build) (arm64)
  • Device:** MacBook Air M1
  • OS: macOS 15.1.1 (24B91)
  • Gutenberg plugin: Version 19.7.0

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions