Skip to content

Commit

Permalink
Fix Gallery v1 caption class name (#51076)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekblank authored Jun 5, 2023
1 parent 08f084f commit 4b18375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/gallery/v1/save.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function saveV1( { attributes } ) {
<RichText.Content
tagName="figcaption"
className={ classnames(
'blocks-gallery-item',
'blocks-gallery-item__caption',
__experimentalGetElementClassName(
'caption'
)
Expand Down

1 comment on commit 4b18375

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 4b18375.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5171901200
📝 Reported issues:

Please sign in to comment.