wp-calypso
wp-calypso copied to clipboard
Amazon Kindle embed doesn't unfurl within a reusable block.
Steps to reproduce the behavior
- Go to post or page editor, add Amazon Kindle URL like https://www.amazon.com/dp/B08X5Y1Z8N by itself.
- You will see the Kindle preview unfurl.
- Make it a reusable block.
- The embed remains unfurled.
- 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