Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.38k stars 1.97k forks source link

Figma embed block on p2 doesn't work with figma prototypes #56911

Open jeffgolenski opened 2 years ago

jeffgolenski commented 2 years ago

Steps to reproduce

  1. Starting at URL: WordPress.com - navigate to a p2
  2. Embed a prototype directly, such as this one
  3. Inside the block editor, the prototype will load properly.
  4. However, when you preview the post it doesn't load the proper screen. It load the cover image, not the prototype

What I expected

For the prototype to load in the preview, as it does in the block editor as I'm writing the post

What happened instead

Prototype does not load

Browser / OS version

Chrome Version 92.0.4515.131 on OS 11.4

Screenshot / Video

Here's a full video outlining the whole problem

https://user-images.githubusercontent.com/214813/136606740-75bed3e9-3f70-4a47-b4b0-bd16822e1600.mp4

Context / Source

I'm unsure if this is the proper place to record this bug. Is it a wordpress.com editor issue? "p2enberg" or figma? Unsure.

jeffgolenski commented 2 years ago

@oskosk @evilluendas - wasn't sure where to report this, so please direct me to the proper place if this isn't it!