Post Template block: 'List view' display setting should be selected by default #61569
Labels
[Block] Post Template
Affects the Post Template Block
[Type] Bug
An existing feature does not function as intended
Description
A few blocks have a setting to display their content in a list or grid view:
The default setting is 'List view'.
When adding a Latest Posts or RSS blocks, their block toolbar does show the 'List view' button selected by default. Screenshots:
The Post Template doesn't. Screenshot:
Step-by-step reproduction instructions
aria-pressed="true"
attribute and ais-pressed
CSS class.aria-pressed="false"
attribute and does not have ais-pressed
CSS class.Screenshots, screen recording, code snippet
No response
Environment info
No response
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: