Skip to content

Commit 8f7310e

Browse files
committed
Add data-gu-name attrib to pullquote and callout
1 parent b241cf8 commit 8f7310e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dotcom-rendering/src/components/CalloutBlockComponent.importable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const CalloutBlockComponent = ({
5151
const id = formId.toString();
5252

5353
return (
54-
<>
54+
<div data-gu-name="callout">
5555
{!isNonCollapsible ? (
5656
<aside>
5757
<ExpandingWrapper
@@ -116,6 +116,6 @@ export const CalloutBlockComponent = ({
116116
pageId={pageId}
117117
/>
118118
)}
119-
</>
119+
</div>
120120
);
121121
};

dotcom-rendering/src/components/PullQuoteBlockComponent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ export const PullQuoteBlockComponent = ({
269269
alignmentCss(role, format),
270270
]}
271271
data-spacefinder-role={role}
272+
data-gu-name="pullquote"
272273
>
273274
<QuoteIcon colour={palette('--pullquote-icon')} />
274275
<blockquote

0 commit comments

Comments
 (0)