1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

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