-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Global Styles: Setting color for List block impacts Post Template block #37388
Comments
👋 I don't know if this is a bug or a feature, so asking for feedback to the hivemind: @mtias @youknowriad @jorgefilipecosta @jasmussen @carolinan @kjellr @jffng The reason why this happens is that the styles for the list block use the The common view so far has been that this wasn't an issue because paragraphs, headings, and lists are foundational pieces of other blocks. It was convenient that they behave like they are. However, now that the styles are being surfaced to end users, it's been asked again. It reopens the conversation as to whether the current behavior still matches our mental model (and we need to educate people) or it's no longer true. Should we change how the styles of the list block work? We could do #37528 which applies the styles to any Thoughts? |
To make the changes, one first has to navigate to Blocks in the global styles sidebar. Then, one has to select the "list block" and not simply "list" (the heading for the area is Blocks). While the post template it is semantically a list on the front, users might not perceive it is a list, for example, it does not present with bullets, and the connection between the list block and the post template is too vague, which makes this feel like a bug There is an issue and pull request to add the CSS class to the list block, but I think what you meant was that it will break with older versions of Gutenberg/WP. |
Excellent issue, excellent thoughts. To echo Carolina above, my first instinct here is that the list markup used for the post template is an implementation detail that might or might not change the future, and should therefore not be affected by changes to the List block. |
Fine to make this more specific. We can output whatever classes we need, but let's not serialize them. |
I am in agreement with you! Closing (after confirming it works as expected). |
Description
This was found as part of the eleventh call for testing for the FSE Outreach Program:
This is the PR referenced: #36676 cc @oandregal as a heads up.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
list.styles.bug.mov
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
The text was updated successfully, but these errors were encountered: