-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Deleted media in Media Library still seen in the post or page. #28914
Comments
@paaljoachim This heavily overlaps with #23262 ; the difference between this issue and that one is that this issue; the deleted media can be seen by the end user outside of the edit; #23262 the image can still be seen in the block editor. |
Thanks for mentioning the other issue Will @skorasaurus ! |
I think #35973 closes this as well. |
Thank you @ramonjd Ramon and @glendaviesnz Glen! |
Just tested on trunk. The placeholder will now appear where an image has been deleted 🎉 |
Closing this as a duplicate of #23262. |
Description
I tested this issue. #11501
The issue itself is not valid any longer, but the point came up that deleting an image from the media library will still show the image in the post or page if it has been used.
When deleting an image (or perhaps audio file) from the Media library it should not still be visible in a post or page, but instead show the Image block placeholder.
Step-by-step reproduction instructions
Expected behaviour
After having deleted the image from the media library
Going back to the post or page the image should not be visible.
There should be a placeholder mentioning that the image has been deleted and that one now needs to replace it with another image.
Actually using the standard placeholder can work:
Actual behaviour
Deleting the image in the Media Library still shows the image in the post or page.
The text was updated successfully, but these errors were encountered: