{% schema %} { "name": "Image with text", "class": "image-with-text-section", "max_blocks": 16, "settings": [ { "type": "paragraph", "content": "For best results, upload images that are 1000px in width and 400px in height. Try to keep your images the same size for consistency." }, { "type": "select", "id": "grid_layout", "label": "Layout", "options": [ { "value": "standard", "label": "Standard" }, { "value": "full-width", "label": "Full width" } ] }, { "type": "select", "id": "frontpage_text_align", "label": "Text alignment", "options": [ { "value": "left", "label": "Left" }, { "value": "center", "label": "Center" }, { "value": "right", "label": "Right" } ] } ], "blocks": [ { "type": "image", "name": "Image with text", "settings": [ { "type": "image_picker", "id": "image", "label": "Image" }, { "type": "text", "id": "title", "label": "Heading", "default": "Image" }, { "type": "richtext", "id": "text", "label": "Text", "default": "

Promotion description appears here.

" }, { "type": "url", "id": "link", "label": "Link" }, { "type": "text", "id": "button_label", "label": "Button label", "default": "View all" } ] } ], "presets": [{ "name": "Image with text", "category": "Image", "settings": { "grid_layout": "standard", "frontpage_text_align": "left" }, "blocks": [ { "type": "image" }, { "type": "image" } ] }] }
Subscribe