- 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
9 months ago Composer error. Unable to continue. - last update
9 months ago 6 fail - Status changed to Needs review
9 months 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.