You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support wide/full alignments for the query block container #27589
Compared to the template part and group block, the query does not have an HTML element on the front, and I believe that is intended.
Would the alignment be passed to the inner block using context?
Right, sorry. I think the Query Loop block is the one that would need this control... It does wrap things in a ul on the front end right now:
In any case, the root of the issue is that in my testing (Using TT1 Blocks), setting wide/full for blocks inside of the Query Loop block doesn't make them appear wide/full in the editor:
(same thing happens in the front end, but that's the theme's responsibility to fix until there's a resolution to #26633.)
Yes, I believe that would solve this specific issue. Now that the Query block has its own container, we were also discussing the ability for it to have its own layout controls. Is that still the plan?
Activity
carolinan commentedon Dec 25, 2020
Compared to the template part and group block, the query does not have an HTML element on the front, and I believe that is intended.
Would the alignment be passed to the inner block using context?
kjellr commentedon Jan 4, 2021
Right, sorry. I think the Query Loop block is the one that would need this control... It does wrap things in a
ulon the front end right now:In any case, the root of the issue is that in my testing (Using TT1 Blocks), setting wide/full for blocks inside of the Query Loop block doesn't make them appear wide/full in the editor:
(same thing happens in the front end, but that's the theme's responsibility to fix until there's a resolution to #26633.)
ntsekouras commentedon Apr 27, 2021
@kjellr is this PR: #30804 enough to close this issue?
kjellr commentedon Apr 27, 2021
Yes, I believe that would solve this specific issue. Now that the Query block has its own container, we were also discussing the ability for it to have its own layout controls. Is that still the plan?
ntsekouras commentedon Apr 27, 2021
Yeah it is, although this might be a bit trickier due to some technical details with existing
layoutproperty and internal consumption of this prop.