• Resolved spectranoob

    (@spectranoob)


    Spectra Blocks – Container layout controls missing from block inspector

    Hello,

    I’m experiencing an issue with the Container block in Spectra Blocks 1.0.5.

    When I select a Spectra Container, the right-hand block inspector starts directly with “Flex Direction”. The expected layout controls for selecting/configuring the layout type are missing from the inspector.

    The Container itself appears to work correctly. The “Change Layout” button in the block toolbar works and opens the “Select a container layout” interface.

    I have already tested the following:

    • Created a completely new page and inserted a brand-new Spectra Container → same issue.
    • Rolled back Spectra Blocks from 1.0.5 to 1.0.4 → same issue.
    • Disabled other plugins for testing → issue remains.
    • Cleared/reloaded the browser cache → no change.
    • No relevant JavaScript runtime errors are present.
    • The native WordPress Group block displays its layout controls correctly.

    I also checked the Spectra Container registration in the browser console:

    wp.blocks.getBlockType('spectra/container')?.supports?.layout

    It returns, among other values:

    allowSwitching: true
    allowSizingOnChildren: true

    So the Container appears to be registered correctly and layout switching is enabled.

    Could you please confirm whether the missing layout controls in the right-hand inspector are expected behavior in the current Spectra Blocks version, or whether this is a bug?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support BSF – Ravi Gojiya

    (@ravigojiya)

    Hi @spectranoob,

    Thank you for reaching out, and thanks for the detailed troubleshooting you had already done before posting. That made this easy to confirm.

    The layout controls have not been removed, so this is expected behaviour and not a bug. With the WordPress 7.1 update, the container layout options such as flex, grid, direction, wrap, and the grid row and column settings moved from the Settings tab to the Style tab of the block inspector.

    Here is where to find them now

    • Select the Container block.
    • In the right panel, switch to the Style tab.
    • Open the Layout section. All the flex and grid controls are there.

    Here is a short screencast showing the Layout settings: https://d.pr/v/3ZCxRA

    The Change Layout button in the toolbar keeps working as before, which matches what you saw.

    Please give this a try and let us know how it goes. If everything works as expected, kindly mark this topic as resolved.

    Have a great day ahead!

    Thread Starter spectranoob

    (@spectranoob)

    Hello Ravi,

    Aaah, now I see. Thank you for your help. Didn’t expect the layout controls to be moved there. Was utterly confused bc the toggle for changing the orientation is still at its old place.

    But everything is clear now.

    Have a great day too!

    Plugin Support BSF – Ravi Gojiya

    (@ravigojiya)

    Hi @spectranoob,

    Glad everything is clear now, and thanks for marking the topic as Resolved.

    You are right that the split is a little confusing with the orientation toggle still in its old place. That toggle will also move into the Layout section in an upcoming update, so everything will sit together in one spot.

    Feel free to reach out if you need anything else.

    Have a wonderful day ahead!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.