diff --git a/packages/client/src/components/app/Heading.svelte b/packages/client/src/components/app/Heading.svelte index 43ed0a066c..2647b608a5 100644 --- a/packages/client/src/components/app/Heading.svelte +++ b/packages/client/src/components/app/Heading.svelte @@ -13,6 +13,9 @@ export let underline export let size + let node + + $: $component.editing && node?.focus() $: placeholder = $builderStore.inBuilder && !text && !$component.editing $: componentText = getComponentText(text, $builderStore, $component) $: sizeClass = `spectrum-Heading--size${size || "M"}` @@ -55,6 +58,7 @@