-
Notifications
You must be signed in to change notification settings - Fork 808
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
Podcast Player: Fix missing replace button #15508
Conversation
Caution: This PR has changes that must be merged to WordPress.com |
This is an automated check which relies on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with Gutenberg 7.9.1 and with vanilla Core trunk, both work as expected. Nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid we can't use ToolbarGroup
just yet. It wasn't part of WordPress 5.3.2, it was only added in 5.4. It consequently causes the block to error out in WP 5.3.2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested in WP 5.3.2 with and without the Gutenberg plugin. Works as expected in both cases.
r206327-wpcom |
Changes proposed in this Pull Request:
As reported in #15459 with Gutenberg 7.9 the
Replace
button in the podcast player block is not visible anymore. The source of the change could be traced down to this commit.This PR suggests changing our implementation to be in line with how the same button is handled in
MediaReplaceFlow
which is used in theimage
block.Fixes #15459
Testing instructions:
Podcast player (beta)
block