You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pasting Amazon URLs, such as for products that aren't e-books, the editor inserts an Amazon Kindle embed regardless of the resource that the URL describes.
To reproduce
Steps to reproduce the behavior:
Grab a Amazon URL describing something that isn't an e-book, such as this vinyl: https://www.amazon.com/dp/B0198CGQEE/
Paste the URL into the editor
Notice the insertion of an Amazon Kindle embed block
Try interacting with the block (either in the editor or the front end) and note how it wrongly presents a Preview button and how the Share function offers an invalid shortlink.
Expected behavior
The URL obtained via the embed's Share button should work
There should be no "Free Preview" button
Screenshots
The text was updated successfully, but these errors were encountered:
I don't think that really changes things, since this all comes from the embed endpoint. The Kindle block is just an explicit block variation of the Embed block. Follow-up is more likely needed in core:
Likely introduced in #13510.
Reported in https://github.com/WordPress/gutenberg/pull/13510/files#r537489307
Describe the bug
When pasting Amazon URLs, such as for products that aren't e-books, the editor inserts an Amazon Kindle embed regardless of the resource that the URL describes.
To reproduce
Steps to reproduce the behavior:
https://www.amazon.com/dp/B0198CGQEE/
Expected behavior
Screenshots
The text was updated successfully, but these errors were encountered: