Browse Source

Update text component placeholders

pull/4023/head
Andrew Kingston 5 years ago
parent
commit
3217aeadb7
  1. 2
      packages/standard-components/src/Heading.svelte
  2. 2
      packages/standard-components/src/Text.svelte

2
packages/standard-components/src/Heading.svelte

@ -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

2
packages/standard-components/src/Text.svelte

@ -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…
Cancel
Save