Single Block field type (schema composition)


New field type for a single block/component


Reusing components as part of other components is helpful to testing and maintaining complex schemas.

It currently is possible to use a field of type Blocks with a maximum allowed of 1, optionally restricted to only a specific component type or types. This however often results in the developer having to extract the single item from the array in the resulting JSON story structure.

Making it a new field type would allow for simpler code in the implementing consumer of the data and could make it for a simpler UI for content editors.