Add a class "wp-block-list" to the List Block #49503
Labels
[Block] List
Affects the List Block
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
What problem does this address?
It is currently difficult to target the List Block in a theme because it is using a plain
<ul><li></li></ul>
output without classes.Adding a class to the
<ul>
will allow theme developers to easily target and create default styles for the List block, without affecting every other<ul>
on the site.What is your proposed solution?
Adding a
wp-block-list
class to the parent<ul>
element.The text was updated successfully, but these errors were encountered: