Skip to content

Commit 5b8af1a

Browse files
[UI/UX] (custom tab) Fix attribute value in code samples (#2290)
1 parent 8dad59f commit 5b8af1a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/manifest/customtab.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: CustomTab element in the manifest file
33
description: On the ribbon, you specify which tab and group for their add-in commands.
4-
ms.date: 01/28/2025
4+
ms.date: 06/10/2025
55
ms.localizationpriority: medium
66
---
77

@@ -134,10 +134,10 @@ For more information, see [Version overrides in the add-in only manifest](/offic
134134
The following markup example adds the Office Paragraph control group to a custom tab and positions it to appear just after a custom group.
135135

136136
```xml
137-
<ExtensionPoint xsi:type="ContosoRibbonTab">
137+
<ExtensionPoint xsi:type="PrimaryCommandSurface">
138138
<CustomTab id="Contoso.TabCustom">
139139
<Group id="Contoso.TabCustom1.group1">
140-
<!-- additional markup omitted -->
140+
<!-- Additional markup omitted. -->
141141
</Group>
142142
<OfficeGroup id="Paragraph" />
143143
<Label resid="customTabLabel1" />
@@ -148,7 +148,7 @@ The following markup example adds the Office Paragraph control group to a custom
148148
The following markup example adds the Office Superscript control to a custom group and positions it to appear just after a custom button.
149149

150150
```xml
151-
<ExtensionPoint xsi:type="ContosoRibbonTab">
151+
<ExtensionPoint xsi:type="PrimaryCommandSurface">
152152
<CustomTab id="Contoso.TabCustom">
153153
<Group id="Contoso.TabCustom2.group2">
154154
<Label resid="residCustomTabGroupLabel"/>
@@ -158,10 +158,10 @@ The following markup example adds the Office Superscript control to a custom gro
158158
<bt:Image size="80" resid="blue-icon-80" />
159159
</Icon>
160160
<Control xsi:type="Button" id="Contoso.Button2">
161-
<!-- information on the control omitted -->
161+
<!-- Information on the control omitted. -->
162162
</Control>
163163
<OfficeControl id="Superscript" />
164-
<!-- other controls, as needed -->
164+
<!-- Other controls, as needed. -->
165165
</Group>
166166
<Label resid="customTabLabel1" />
167167
</CustomTab>

0 commit comments

Comments
 (0)