diff --git a/packages/standard-components/manifest.json b/packages/standard-components/manifest.json index ba858c44b4..6b5f8d99b4 100644 --- a/packages/standard-components/manifest.json +++ b/packages/standard-components/manifest.json @@ -729,6 +729,7 @@ "description": "A basic component for displaying images", "icon": "Image", "illegalChildren": ["section"], + "styles": ["size"], "settings": [ { "type": "text", diff --git a/packages/standard-components/src/Image.svelte b/packages/standard-components/src/Image.svelte index d5cafca4d5..fb04f866c6 100644 --- a/packages/standard-components/src/Image.svelte +++ b/packages/standard-components/src/Image.svelte @@ -1,21 +1,29 @@ - +{#if url} + +{:else} +