Update text component placeholders

This commit is contained in:
Andrew Kingston 2021-06-30 08:46:02 +01:00
parent b4a8a9c160
commit 83474a5c7e
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
$: placeholder = $builderStore.inBuilder && !text $: placeholder = $builderStore.inBuilder && !text
$: componentText = $builderStore.inBuilder $: componentText = $builderStore.inBuilder
? text || "Placeholder text" ? text || $component.name || "Placeholder text"
: text || "" : text || ""
// Add color styles to main styles object, otherwise the styleable helper // Add color styles to main styles object, otherwise the styleable helper

View File

@ -14,7 +14,7 @@
$: placeholder = $builderStore.inBuilder && !text $: placeholder = $builderStore.inBuilder && !text
$: componentText = $builderStore.inBuilder $: componentText = $builderStore.inBuilder
? text || "Placeholder text" ? text || $component.name || "Placeholder text"
: text || "" : text || ""
// Add color styles to main styles object, otherwise the styleable helper // Add color styles to main styles object, otherwise the styleable helper