Native model
workspace_block_media_preview_config
Declare a named workspace_block_media_preview_config value and reference it as workspace_block_media_preview_config.your_name. Models have no separate platform identity or lifecycle.
Topics: Surfaces
Fields
Settings for the enclosing block. Use attributes for simple values, <property> children for lists and objects, or one complete JSON body.
aspectRatioOptionalAspect ratio of the preview area.
childrenOptionalarray
- Minimum items
0- Maximum items
9223372036854776000
List items
Choose exactly one shape
All of these apply
componentRequiredstring
- Value
"block-MediaPreview-config"
jsonOptionalobject
objectFitOptionalHow the image fills the preview area.
Only the fields listed here are accepted.