Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Nested Blocks in Block Editor

  • #7300
    Avatar photo[anonymous]

    Hi,

    Currently, in the Block Editor, one can assign CSS class for each block. I would like to know if it’s possible to do nested blocks with the Block Editor. Whereby, the inner blocks or sub-blocks can have additional CSS class name(s).

    This would give the flexibility to do ad-hoc custom layouts within the post itself rather than creating a custom post template or resorting to HTML coding. Of course, defining the CSS to match the desired styling would be necessary.

    Some use for nested blocks would include:

    • Multi-columns in just a section of the post;
    • Pricing Tables/columns;
    • Call-to-action / Special promotions sections; etc.

    Cheers.

    #7313
    Avatar photo[anonymous]

    Hi,

    Nested blocks are a very complicated topic, so we have no ETA for them at this moment. The only solution for such complex blocks at this moment is using custom HTML

    #7322
    Avatar photo[anonymous]

    Hi Tomasz,

    Thanks for your reply.