I really need some help getting my head around this.
I have this idea of making a grid editor by nesting block list editors.
I figured out how to nest one level down, by watching a blog post late last year. But i need to go at least one level deeper. Has anybody got a code snippet or gist to do this, i would be very greatful.
the idea is to have:
A blocktype that is a "row".
The row can contain x "colums".
A column can contain content elements or x "rows".
And so forth.
I have illustrated what i'm looking to achieve here.
Colours reference the element vs the render:
I think maybe Søren Kottal did something like this in a blog post, but i cant seem to find it..
Down the block list rabbit hole
I really need some help getting my head around this. I have this idea of making a grid editor by nesting block list editors.
I figured out how to nest one level down, by watching a blog post late last year. But i need to go at least one level deeper. Has anybody got a code snippet or gist to do this, i would be very greatful.
the idea is to have: A blocktype that is a "row". The row can contain x "colums". A column can contain content elements or x "rows". And so forth.
I have illustrated what i'm looking to achieve here. Colours reference the element vs the render:
I think maybe Søren Kottal did something like this in a blog post, but i cant seem to find it..
As if by magic i managed to make it work in an hour :O.
i found Sørens blog post and bent it a bit. Give a shout if you want to know more...
In case anyone is interested - blog post is here: https://24days.in/umbraco-cms/2020/grid-nouveau-block-list/
is working on a reply...