• Resolved arthurrandom

    (@arthurrandom)


    Hi,

    I’m trying to nest blocks inside the container, I’m pretty sure it can because of the example on this page

    https://atomicblocks.com/blocks/container-block/

    However I can only get it to work as a paragraph and not nest other blocks in it (The normal plus sign doesn’t appear).

    How do I go about adding headings and columns etc. into it?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author atomicblocks

    (@atomicblocks)

    Hi there,

    Yep, you can definitely nest within the container block. It can be a little hard to see, but once you add the container block, you’ll get a (+) button on the right side of the container, also seen here. You can use this to add more blocks within the container. If you add text, images, etc., you’ll continue to see the (+) icon to add more blocks after that. Hope that helps!

    Thread Starter arthurrandom

    (@arthurrandom)

    Hi thanks for getting back.

    Yes youre right it does work. I think Gutenberg sometimes has a few minor quirks with the hovering over elements.

    It auto creates a paragraph element and then was difficult to click behind it to access the container.

    Thans very much for responding it does work ??

    Thread Starter arthurrandom

    (@arthurrandom)

    Hi, just a follow up to say…

    Once the paragraph elements have been added, the container block can’t be selected, so you can’t edit the padding / colours etc… without deleting the paragraph element.

    Just thought I’d let you know. Maybe it needs some kind of click area that expands beyond the contained elements?

    Plugin Author atomicblocks

    (@atomicblocks)

    I know sometimes it can be hard to click specific blocks. Gutenberg recently added a new feature to help with this. Click this little icon in the toolbar to show the tree of blocks, which you can use to click the container block easily. Hope that helps!

    Thread Starter arthurrandom

    (@arthurrandom)

    Thanks for being so helplful!

    I apply a background color immediately after creating the container. It helps me see the container’s location. I remove or change the color when I’m finished. It is a very frustrating block because it is all but invisible and difficult find to hover over. The structure icon helps but it often shows only a subset of the structure depending on where in the document you are scrolled to.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Container – can’t nest elements’ is closed to new replies.