- First commit to issue fork.
- @pyrello opened merge request.
- 🇺🇸United States pyrello
I used the existing patches as a guide for what to add and where, but ultimately they were too out-of-date to be applied. The underlying logic had changed quite a bit, so some rewriting was necessary. Also the patches contained some unrelated changes that I didn't think were important to capture as part of this update.
What I pushed so far isn't working for me yet, but I'm not sure why. I figured I'd push what I have in case anyone else wants to take a look in the meantime.
- Issue was unassigned.
- 🇺🇸United States pyrello
Not really sure why the tests are failing at this point.
I took this on as an investigation to understand how we might use these options as an alternative for using a view to apply styles to a set of fields in a sidebar region. I don't think we are going to use this to solve that particular challenge, so I have put in about as much time as I can afford at the moment to move this forward. I still believe it is potentially valuable.
There was not a lot of information in the IS, so I made some interpretive leaps with how this should be handled. I essentially made it so that regions could have their own styles by adding a new style type. Except for that the storage was set up that way, I don't really get why a style can only be of one type. It seems like it would potentially be useful for a style to be applied to a block, region, or section. Groups don't care about the style type, so you can adding styles with different types to the same group.
Ultimately, I accomplished a lot of this by reusing existing code and making it work for looping through regions. There is definitely some refactoring that could happen to shrink the footprint.
I updated the version because I'm assuming this new functionality will go into the most recent version of the module.
- First commit to issue fork.
- last update
about 1 year ago Composer error. Unable to continue. - last update
about 1 year ago 6 fail - Status changed to Needs review
about 1 year ago 7:16am 19 February 2024 - 🇮🇳India ravi kant Jaipur
The path is working for me.
https://www.drupal.org/files/issues/2024-02-19/layout-builder-styless-cl... →
After apply patch navigate to
Administration > Configuration > Content Authoring > Layout Builder Styles
and add styles for region.The option for section configuration will be show as below.
- 🇬🇧United Kingdom newaytech
This is a killer feature that I'm holding out for. Any chance this can make its way into the module? Anybody have experience using this alternative → to cater for region styling?
- First commit to issue fork.
Hello, I did not notice that exist this mutual Feature request.
I started issue: https://www.drupal.org/project/layout_builder_styles/issues/3513010 ✨ Extending module for style option: Type - Section wrapper Active
There is some information, but i believe that my issue (3513010) can be marked as duplicity.I tried this.
And archieved result same as #19
But with bugs:- Update button is misplaced
- checkbox check state isnt saved to db.
- And also styles are not applied