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
I'm not very familiar with the underlying template tag code, but naively could you run the same code as do_component_block() inside the slot tag: so each slot just renders its own list of slots?
Activity
EmilStenstrom commentedon Feb 20, 2021
Ah, makes sense that nested slots, just like nested blocks, should work.
Internally the slots are handled as a list, so supporting this would mean handling them as a tree instead. Not trivial, but doable I think.
Mind giving it a try?
danjac commentedon Feb 20, 2021
I'm not very familiar with the underlying template tag code, but naively could you run the same code as
do_component_block()inside the slot tag: so each slot just renders its own list of slots?Improve slot handling to allow nested components, conditional slots, …