Transform beforeafter block into generic image+text block

- Add toggle (isBeforeAfter) to switch between modes
- Mode simple: single image + text (2 columns layout)
- Mode comparison: before/after slider + text (2 columns layout)
- Remove "1/2, 1/2" layout from report blueprint (keep only "1/1")
- Update Vue component with 2-column grid preview
- Update PHP snippet to handle both modes
- Rename block to "Image avec texte"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-02-09 18:20:29 +01:00
parent a765b5d235
commit 6251d8f09f
6 changed files with 244 additions and 133 deletions

View file

@ -44,7 +44,6 @@ tabs:
type: layout
layouts:
- "1/1"
- "1/2, 1/2"
fieldsets:
- text
- heading