-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site Editor Compatibility: Podcast Player block issues in editor and front end views #19483
Comments
It looks like podcast player enqueues assets from the mediaelement core lib: https://github.com/WordPress/WordPress/tree/master/wp-includes/js/mediaelement So we're going to need a way to ensure all block dependencies can be copied into the site editor context. I'm starting to think core should be offering a solution to this. |
I just did some more testing in preparation for the 9.9 release, but it looks like this issue is happening for me again 🤔 @ramonjd would you be able to take another look? |
Thanks for the ping @sdixon194 Could you fill me in on how you tested this? I just checked with release candidate (9.8.1-918672803-g67226f6) and bleeding edge (9.9-alpha-974918035-gf25064c), and embedding the podcast player block works as expected on the site editor and frontend end (using Gutenberg 10.9.1) Edit: Working okay in Atomic, but in WPCOM I do see this: I'll try to debug. It was working when we tested, honest! :D |
As far as I can tell, the Site Editor in WPCOM is no longer loading I'm not yet sure when or how this changed as we tested in WPCOM at the time and it was working. My only guess is that it's due to a Gutenberg change, but I can't be sure. Still looking...
🤷 |
Okay, I think it's because we haven't implemented the changes required by WordPress/gutenberg#31873, which was merged after our changes. We need to add Now it works cc @glendaviesnz for sanity check Edit: So I think the solution is to add that line, since WPCOM is running the required Gutenberg version (10.9.1) in order for it to work. It looks like we can roll back the workaround in maybeCopyElementsToSiteEditorContext for WPCOM at least, but for sites running previous versions of Gutenberg that support site editor, we may want to leave it in until we can fully test. Leaving in |
Brilliant, nice sleuthing and thanks for the quick fix! |
In the new site editor in Gutenberg (
/wp-admin/admin.php?page=gutenberg-edit-site
), there are some issues with the Podcast Player block within the editor and on the front end of the site. The issues include:Steps to reproduce the issue
What I expected
What happened instead
The text was updated successfully, but these errors were encountered: