Support

Account

Home Forums Gutenberg Setting the Layout attribute as a default in block.json Reply To: Setting the Layout attribute as a default in block.json

  • Answered my own question, was taking the schema to literally.

    For anyone else looking:

    "layout": { 
                      "type": "object", 
                      "default": { 
                            "type": "constrained" 
                      } 
                }

    Also make sure the “layout: true” is set within the “supports” array.