Skip to content
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

Core media text block issue with the useFeaturedImage #68246

Closed
3 of 6 tasks
SH4LIN opened this issue Dec 23, 2024 · 0 comments · Fixed by #68247
Closed
3 of 6 tasks

Core media text block issue with the useFeaturedImage #68246

SH4LIN opened this issue Dec 23, 2024 · 0 comments · Fixed by #68247
Labels
[Block] Media & Text Affects the Media & Text Block [Type] Bug An existing feature does not function as intended

Comments

@SH4LIN
Copy link
Contributor

SH4LIN commented Dec 23, 2024

Description

Whenever we use the featured image as the media for the block and then change it to some custom media, such as an image or video, it displays both the featured image and the newly selected media.

Step-by-step reproduction instructions

  1. Add the media text block on your page.
  2. Use the featured image and save the page.
  3. Replace the media in the block from the featured image with other uploaded media.
  4. Check the frontend to see the featured image and the other selected media.

Screenshots, screen recording, code snippet

Screen.Recording.2024-12-23.at.6.46.18.PM.mov

Environment info

  • WordPress Version: 6.7.1
  • Gutenberg Version: 19.9.0

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@SH4LIN SH4LIN added the [Type] Bug An existing feature does not function as intended label Dec 23, 2024
@Mamaduka Mamaduka added the [Block] Media & Text Affects the Media & Text Block label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Media & Text Affects the Media & Text Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants