Update text component placeholders
This commit is contained in:
parent
b4a8a9c160
commit
83474a5c7e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue