Html Code {% schema %} { "name": "Rich text", "class": "featured-text-section", "settings": [ { "type": "text", "id": "title", "label": "Heading", "default": "Custom content" }, { "type": "select", "id": "alignment", "label": "Alignment", "default": "center", "options": [ {"value": "left", "label": "Left"}, {"value": "center", "label": "Center"}, {"value": "right", "label": "Right"} ] } ], "blocks": [ { "type": "page", "name": "Page", "settings": [ { "type": "page", "id": "page", "label": "Page content" }, { "type": "checkbox", "id": "show_title", "label": "Show title", "default": false }, { "type": "checkbox", "id": "full_width", "label": "Full browser width", "default": false } ] }, { "type": "image", "name": "Image", "settings": [ { "type": "image_picker", "id": "image", "label": "Image" }, { "type": "url", "id": "link", "label": "Image link" }, { "type": "checkbox", "id": "full_width", "label": "Full browser width", "default": false } ] }, { "type": "video", "name": "Video", "settings": [ { "id": "video_url", "type": "video_url", "label": "Video URL", "accept": ["youtube", "vimeo"], "default": "https://www.youtube.com/watch?v=_9VUPq3SxOc" }, { "type": "checkbox", "id": "full_width", "label": "Full browser width", "default": false } ] }, { "type": "richtext", "name": "Rich text", "settings": [ { "type": "text", "id": "title", "label": "Heading", "default": "Talk about your brand" }, { "type": "richtext", "id": "text", "label": "Text", "default": "

Use this text to share information about your brand with your customers. Describe a product, share announcements, or welcome customers to your store.

" } ] }, { "type": "button", "name": "Button", "settings": [ { "type": "text", "id": "button_label", "label": "Button label" }, { "type": "url", "id": "button_link", "label": "Button link" } ] }, { "type": "html", "name": "Custom HTML", "settings": [ { "type": "html", "id": "code", "label": "HTML" }, { "type": "checkbox", "id": "full_width", "label": "Full browser width", "default": false } ] } ], "presets": [ { "name": "Custom content", "category": "Advanced layout", "blocks": [ { "type": "image" }, { "type": "richtext", "settings": { "title": "" } }, { "type": "button", "settings": { "button_label": "See all products", "button_link": "shopify://collections/all" } } ] } ] } {% endschema %}