Skip to content

Commit cda89ce

Browse files
[UI/UX] (custom tab) Fix attribute value in code samples (#5212)
1 parent a7d2943 commit cda89ce

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/design/built-in-button-integration.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Integrate built-in Office buttons into custom control groups and tabs
33
description: Learn how to include built-in Office buttons in your custom command groups and tabs on the Office ribbon.
4-
ms.date: 02/12/2025
4+
ms.date: 06/10/2025
55
ms.topic: how-to
66
ms.localizationpriority: medium
77
---
@@ -43,11 +43,11 @@ The following example adds the Office Paragraph control group to a custom tab.
4343
"id": "MyTab",
4444
...
4545
"groups": [
46-
... // Optionally, other groups in the tab
46+
... // Optionally, other groups in the tab.
4747
{
4848
"builtInGroupId": "Paragraph"
4949
},
50-
... // Optionally, other groups in the tab
50+
... // Optionally, other groups in the tab.
5151
]
5252
}
5353
]
@@ -80,11 +80,11 @@ The following example adds the Office Superscript control to a custom group.
8080
"id": "MyGroup",
8181
...
8282
"controls": [
83-
... // Optionally, other controls in the group
83+
... // Optionally, other controls in the group.
8484
{
8585
"builtInControlId": "Superscript"
8686
},
87-
... // Optionally, other controls in the group
87+
... // Optionally, other controls in the group.
8888
]
8989
}
9090
]
@@ -105,10 +105,10 @@ To insert a built-in Office control group into a tab, add an [OfficeGroup](/java
105105
The following markup example adds the Office Paragraph control group to a custom tab and positions it to appear just after a custom group.
106106

107107
```xml
108-
<ExtensionPoint xsi:type="ContosoRibbonTab">
108+
<ExtensionPoint xsi:type="PrimaryCommandSurface">
109109
<CustomTab id="Contoso.TabCustom1">
110110
<Group id="Contoso.myCustomTab.group1">
111-
<!-- additional markup omitted -->
111+
<!-- Additional markup omitted. -->
112112
</Group>
113113
<OfficeGroup id="Paragraph" />
114114
<Label resid="customTabLabel1" />
@@ -123,7 +123,7 @@ To insert a built-in Office control into a custom group, add an [OfficeControl](
123123
The following markup example adds the Office Superscript control to a custom group and positions it to appear just after a custom button.
124124

125125
```xml
126-
<ExtensionPoint xsi:type="ContosoRibbonTab">
126+
<ExtensionPoint xsi:type="PrimaryCommandSurface">
127127
<CustomTab id="Contoso.TabCustom2">
128128
<Group id="Contoso.TabCustom2.group1">
129129
<Label resid="residCustomTabGroupLabel"/>

0 commit comments

Comments
 (0)