wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

Amazon Kindle embed doesn't unfurl within a reusable block.

Open happychait opened this issue 4 years ago • 1 comments

Steps to reproduce the behavior

  1. Go to post or page editor, add Amazon Kindle URL like https://www.amazon.com/dp/B08X5Y1Z8N by itself.
  2. You will see the Kindle preview unfurl.
  3. Make it a reusable block.
  4. The embed remains unfurled.
  5. Now publish, and visit the post/page on the site.

What I expected to happen

Kindle preview to remain unfurled on the post/page even within the reusable block.

What actually happened

For the reusable block, only the link https://www.amazon.com/dp/B08X5Y1Z8N is shown.

The normal, direct embed unfurls as expected.

Workaround

Converting the reusable block to the regular block unfurls the Kindle preview.

Is this specific to the applied theme? Which one?

I tested with a lot of themes and they all show only the link when Kindle URL is added to a reusable block.

Does this happen on simple or atomic sites or both?

Happens both on Simple and Atomic sites.

Is there any console output or error text?

No.

Screenshot to help explain the problem.

Editor shows the Kindle embed unfurled as expected:

Direct link to screenshot: https://d.pr/i/x8mpqd

But on the page, the Kindle embed within the reusable block remains as a link:

Direct link to screenshot: https://d.pr/i/1pF2eJ

User report 21656212-hc

happychait avatar Mar 11 '21 03:03 happychait