diff --git a/frontend/src/lib/components/CollapsibleSlot.svelte b/frontend/src/lib/components/CollapsibleSlot.svelte new file mode 100644 index 0000000..e6c1175 --- /dev/null +++ b/frontend/src/lib/components/CollapsibleSlot.svelte @@ -0,0 +1,117 @@ + + +
{@html sanitizePreview(slotPreview[slot.name])}
+ ⚠ {t('common.undefinedVar')}: {slotErrors[slot.name]}
@@ -317,12 +381,7 @@✕ {t('common.syntaxError')}: {slotErrors[slot.name]}{slotErrorLines[slot.name] ? ` (${t('common.line')} ${slotErrorLines[slot.name]})` : ''}
{/if} {/if} - {#if slotPreview[slot.name] && !slotErrors[slot.name]} -{@html sanitizePreview(slotPreview[slot.name])}
-