-
Notifications
You must be signed in to change notification settings - Fork 316
Description
I’m not 100% sure whether this issue I’m having needs fixing in playground or Gutenberg.
I’m trying to get my Media Experiments plugin running in playground. To try it: https://playground.wordpress.net/?mode=seamless&blueprint-url=https://raw.githubusercontent.com/swissspidy/media-experiments/main/blueprints/playground.json
The plugin sets Cross-Origin-Opener-Policy: same-origin
and Cross-Origin-Embedder-Policy: require-corp
HTTP headers on the post editor page to force cross-origin isolation.
The block editor is iframed. The Iframe component tries to access node.contentDocument
but because the iframe seems to be on a different origin, that property is null and the editor crashes.

Do you have any idea how this issue could be resolved? I’d really love folks to be able to test my plugin in playground.