Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Claushingebjerg 936 posts 2571 karma points
    Jan 28, 2021 @ 19:26
    Claushingebjerg
    0

    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:

    enter image description here

    I think maybe Søren Kottal did something like this in a blog post, but i cant seem to find it..

  • Claushingebjerg 936 posts 2571 karma points
    Jan 28, 2021 @ 21:16
    Claushingebjerg
    100

    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...

  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    Jan 29, 2021 @ 06:19
    Søren Kottal
    1

    In case anyone is interested - blog post is here: https://24days.in/umbraco-cms/2020/grid-nouveau-block-list/

Please Sign in or register to post replies

Write your reply to:

Draft