Format wrapper class used in all displays

Created on 17 November 2017, almost 7 years ago
Updated 5 June 2024, 3 months ago

On Drupal 8.4.0 I have created a Views of content with two blocks - Block A and Block B. Using HTML List format settings I am trying to add a wrapper class to only Block B. But when I add the class there and apply it, the changes get stored for both displays. When i open the HTML List Settings for Block B, the modal title displays Block B: Style options, which implies that the settings are only for this display, but there are no options to make the class a current display overwrite, as when I open the same modal for Block A, I also see Block B classes.

Steps to reproduce:
1. Create a view of content with a block, that uses display format HTML list.
2. Edit the new Block Format HTML List Settings and change the Wrapper class from item-list to item-list-changed.
3. Add a new Block - named Block 2.
4. Change the new block HTML List Settings wrapper class from item-list-changed to item-list-block2.
5. Go back to display Block and see the Format List Settings for the block - it is now also item-list-block2 with no way to make it a display specific overwrite.

Currently the only way around this is to create separate Views for each block and apply the classes there, but this adds unnecessary difficulty to management of the blocks.

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 11 hours ago

Created by

πŸ‡ͺπŸ‡ͺEstonia ainarend

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024