index-main/site/plugins/horizontal-gallery/blueprints/blocks/horizontalgallery.yml
isUnknown 561932724b Refactor blocks architecture to modular approach
- Restore "1/2, 1/2" layout for flexible column combinations
- Simplify beforeafter block: remove toggle and text field, keep only image comparison
- Create new video block with URL support (YouTube/Vimeo/direct files)
- Create horizontal-gallery block for scrollable image galleries
- Add H4 heading level support
- All blocks now modular: combine with text blocks in 2-column layouts

Blocks available:
- Text, Heading (h2-h4), Image, Video
- Before/After comparison (no text)
- Horizontal gallery (with text below)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 19:33:33 +01:00

22 lines
444 B
YAML

name: Galerie horizontale
icon: images
preview: horizontalgallery
fields:
images:
label: Images
type: files
multiple: true
layout: cards
query: page.images
help: Pensez à ajouter une légende à chaque image via son blueprint (champ Caption)
text:
label: Texte accompagnant
type: writer
marks:
- bold
- italic
- link
nodes:
- bulletList
- orderedList
- paragraph