Rate this page:
The mediaGroup
node is a container for several media items. Compare to mediaSingle
, which is intended for the display of a single media item in full.
mediaSingle
is a top-level block node.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{
"type": "mediaGroup",
"content": [
{
"type": "media",
"attrs": {
"type": "file",
"id": "6e7c7f2c-dd7a-499c-bceb-6f32bfbf30b5",
"collection": "ae730abd-a389-46a7-90eb-c03e75a45bf6",
}
},
{
"type": "media",
"attrs": {
"type": "file",
"id": "6e7c7f2c-dd7a-499c-bceb-6f32bfbf30b5",
"collection": "ae730abd-a389-46a7-90eb-c03e75a45bf6",
}
}
]
}
Name | Required | Type | Value |
---|---|---|---|
type | ✔ | string | "mediaGroup" |
content | ✔ | array | An array of nodes |
content
must contain one or more media
nodes.
Rate this page: