Hello, i’m having issues trying to nest a “blocks” field inside a structure. This is the code in my yml file:
android:
label: Android docs
type: structure
fields:
title:
label: Title
type: text
required: true
documentation:
label: Documentation
type: blocks
This is the error i’m getting:
Is it possible to nest blocks within a structure? If not, is there anything similar i could use?
I need to use a structure in order to be able to group different sections of the documentation and more create navigation on the page too. I was thinking the blocks field would be best to be able to provide the editors with easy access to fields like headings, paragraphs, lists, code blocks and images. Although they also need tables so i’m not sure if this is something that the blocks do have or if i need to find another solution.
Any advice is greatly appreciated