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

Categories List block: CSS classes inconsistency in the list #42984

Closed
dashkevych opened this issue Aug 4, 2022 · 1 comment · Fixed by #43666
Closed

Categories List block: CSS classes inconsistency in the list #42984

dashkevych opened this issue Aug 4, 2022 · 1 comment · Fixed by #43666
Assignees
Labels
[Block] Categories Affects the Categories Block CSS Styling Related to editor and front end styles, CSS-specific issues. [Type] Enhancement A suggestion for improvement.

Comments

@dashkevych
Copy link

Description

The editor displays the following CSS classes in the list of the block:

wp-block-categories__list wp-block-categories__list-level-0

The website displays the following CSS classes in the list of the block:

wp-block-categories-list wp-block-categories

Step-by-step reproduction instructions

  1. Go to the Widgets screen
  2. Add Categories block
  3. Publish changes

I used default WordPress theme with support for widget areas: Twenty Twenty One

Screenshots, screen recording, code snippet

Editor:
Category block in the editor

Website:
Category block on the actual website

Environment info

Fresh WordPress installation:

  • Twenty Twenty One theme (Version: 1.6)
  • WordPress (Version: 6.0.1)

No plugins.

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

@kathrynwp kathrynwp added [Block] Categories Affects the Categories Block CSS Styling Related to editor and front end styles, CSS-specific issues. [Type] Bug An existing feature does not function as intended [Feature] Widgets Screen The block-based screen that replaced widgets.php. labels Aug 4, 2022
@t-hamano t-hamano changed the title Category block: CSS classes inconsistency in the list Categories List block: CSS classes inconsistency in the list Aug 5, 2022
@t-hamano t-hamano added [Type] Enhancement A suggestion for improvement. and removed [Type] Bug An existing feature does not function as intended [Feature] Widgets Screen The block-based screen that replaced widgets.php. labels Aug 27, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Aug 27, 2022
@t-hamano
Copy link
Contributor

@dashkevych
Thank you for submitting the issue.
I have submitted #43666 to bring the markup on the block editor in line with the front end.
I believe this PR will solve the problem.

@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Categories Affects the Categories Block CSS Styling Related to editor and front end styles, CSS-specific issues. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants