Skip to content
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

Post comments form text alignment does not work #40576

Closed
carolinan opened this issue Apr 25, 2022 · 3 comments
Closed

Post comments form text alignment does not work #40576

carolinan opened this issue Apr 25, 2022 · 3 comments
Assignees
Labels
[Block] Post Comments Form Affects the Comments Form Block [Type] Bug An existing feature does not function as intended

Comments

@carolinan
Copy link
Contributor

Description

The text alignment setting on the post comments form block does not work correctly. I believe this is a regression after #40368.

In the editor, the heading "Leave a reply" remains aligned to the left (not tested on rtl!),
The label and button below the form are aligned according to the setting.

On the front, none of the text is aligned anymore.

Step-by-step reproduction instructions

  1. Add a post comments form in the block editor
  2. Use the text alignment option in the block toolbar.
  3. Confirm if the heading aligns or not.
  4. Save and view the front of the website.
  5. Compare the text alignments.

Screenshots, screen recording, code snippet

13.0.0

Editor:
Editor place holder is centered
Front:
the text in the form is centered

Gutenberg trunk

Editor:
the heading above the form is not aligned according to the setting
Front:
None of the text is aligned according to the setting

Environment info

WordPress 6.0-beta2-53249
Beta tester plugin is installed
Compared between Gutenberg current trunk and Gutenberg 13.0.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.

No

@carolinan carolinan added [Type] Bug An existing feature does not function as intended [Block] Post Comments Form Affects the Comments Form Block labels Apr 25, 2022
@carolinan
Copy link
Contributor Author

carolinan commented Apr 25, 2022

Is it worth solving this before the block is split into its inner blocks?

@carolinan carolinan changed the title Post comment form alignments do not work Post comments form text alignment does not work Apr 25, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Apr 26, 2022
@cbravobernal
Copy link
Contributor

Is it worth solving this before the block is #38107?

I guess it is!

@carolinan
Copy link
Contributor Author

This has been solved, so I am closing the issue

@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Comments Form Affects the Comments Form Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants