Update text component placeholders
This commit is contained in:
parent
6bfcb3fc2b
commit
3217aeadb7
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue