Update text component placeholders

This commit is contained in:
Andrew Kingston 2021-06-30 08:46:02 +01:00
parent 6bfcb3fc2b
commit 3217aeadb7
2 changed files with 2 additions and 2 deletions

View File

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

View File

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