Custom Fields
Re-Envisioned
Support MB Blocks innerblocks with visual builder

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #30280
    Long Nguyen
    Moderator

    Hi,

    You can add the code <InnerBlocks /> to the Render Code area in the Builder. Screenshot https://imgur.com/cEiGJ1Q

    #30283
    luigi gaudino
    Participant

    thanks it's working and very simple, my problem is solved.

    I noticed however that to add innerblocks i have:
    1: create at least 1 custom field in the block group
    2: custom field created must be not be empty
    3: i have to be in preview mode
    otherwise in gutenberg backend i see notice: Click the Edit icon in the block toolbar to enter content.
    (Added screenshot to explain better): https://imgur.com/a/V6oRzW5

    There is a way to add innerblocks without this requirements? (i'm trying to create a container for other custom blocks)

    #30290
    Long Nguyen
    Moderator

    Hi,

    I'm afraid that there is no way in current. You have to create a field, add a value and add inner blocks in the preview mode of the custom block. I will inform the development team to improve point 2.

    #30292
    luigi gaudino
    Participant

    Ok thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.