Skip to content

Commit

Permalink
Fix Amazon Kindle Embed Title
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikmehta8 committed Jan 16, 2025
1 parent 8ba15b1 commit fdc28e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/embed/variations.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ const variations = [
attributes: { providerNameSlug: 'wordpress-tv', responsive: true },
},
{
name: 'amazon-kindle',
name: 'amazon',
title: getTitle( 'Amazon Kindle' ),
icon: embedAmazonIcon,
keywords: [ __( 'ebook' ) ],
Expand All @@ -340,7 +340,7 @@ const variations = [
/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,
/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i,
],
attributes: { providerNameSlug: 'amazon-kindle' },
attributes: { providerNameSlug: 'amazon' },
},
{
name: 'pinterest',
Expand Down

0 comments on commit fdc28e4

Please sign in to comment.