diff --git a/apps/builder/app/builder/features/workspace/canvas-tools/outline/block-instance-outline.tsx b/apps/builder/app/builder/features/workspace/canvas-tools/outline/block-instance-outline.tsx
index b44d030284a8..cd779e52155c 100644
--- a/apps/builder/app/builder/features/workspace/canvas-tools/outline/block-instance-outline.tsx
+++ b/apps/builder/app/builder/features/workspace/canvas-tools/outline/block-instance-outline.tsx
@@ -42,7 +42,10 @@ import { getInstancePath } from "~/shared/awareness";
import { insertTemplateAt } from "./block-utils";
import { Outline } from "./outline";
import { applyScale } from "./apply-scale";
-import { InstanceIcon } from "~/builder/shared/instance-label";
+import {
+ getInstanceLabel,
+ InstanceIcon,
+} from "~/builder/shared/instance-label";
export const TemplatesMenu = ({
onOpenChange,
@@ -103,7 +106,7 @@ export const TemplatesMenu = ({
const menuItems = templates?.map(([template, templateSelector]) => ({
id: template.id,
icon: ,
- title: template.label ?? template.component,
+ title: getInstanceLabel(template, undefined),
value: templateSelector,
}));
@@ -167,7 +170,7 @@ export const TemplatesMenu = ({
>
{item.icon}
- {item.title}
+ {item.title}
))}
diff --git a/packages/sdk/src/core-templates.tsx b/packages/sdk/src/core-templates.tsx
index 4829dd15f938..a59f4ee7474e 100644
--- a/packages/sdk/src/core-templates.tsx
+++ b/packages/sdk/src/core-templates.tsx
@@ -71,20 +71,20 @@ const blockMeta: TemplateMeta = {
template: (
-
+
-
-
+
+
-
-
+
+
-
+
<$.Image
ws:style={css`
margin-right: auto;
@@ -93,30 +93,34 @@ const blockMeta: TemplateMeta = {
height: auto;
`}
/>
-
-
+
+
<$.HtmlEmbed />
-
+
-
+
The Content Block component designates regions on the page where
pre-styled instances can be inserted in{" "}
-
+
Content mode
.
-
-
+
+
In Content mode, you can edit any direct child instances that were
pre-added to the Content Block, as well as add new instances
predefined in Templates.
-
+
To predefine instances for insertion in Content mode, switch to Design
mode and add them to the Templates container.
-
+
To insert predefined instances in Content mode, click the + button
while hovering over the Content Block on the canvas and choose an
instance from the list.