Arrays are one of the most powerful parts of any SSG. They can be used for a wide range of use cases, from small lists of strings to full component builders.
This document will show the two types of arrays that can exist and how they are treated within CloudCannon. The array editor will give your editors:
There is no setup, just add your data and see the editor show up.
Simple arrays or primitive arrays are an array of strings or numbers. The array editor will give you a way edit these items directly in a list.
Arrays of objects allow your editors to add and edit objects of any complexity. When your data can be infinitely recursive, there is no end to what can be achieved. Connect this array with a loop on your site to create endless editing opportunities.
Clicking each item in the list will open the object in their own column. For more information on this, see the documentation on Objects.