You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand the intent of that check but seems to me it is based on an assumption. To me, it is only valid in a scenario where the user has written a new caption and it is still making a decision on what image to use or wants to replace the image with one that fits with the existing caption. Maybe they are trying various images and in that case it makes sense to not lose the caption. But this is an assumption on a single case.
As a user, when I replace an image with a new one that has its own caption, I expect the caption to be there.
Edit: Also, comparing the behavior with the one that always existed in WordPress and now it's in the Classic editor, this is a change in the expected behavior that should have been considered a little more deeply IMHO.
Description
When replacing an image that does have a caption with another image that does not have a caption, the previous caption persists.
I can reproduce thie behavior on WordPress 6.5 and on Gutenberg trunk.
Attached animated GIF to illustrate:
Step-by-step reproduction instructions
Note: when replacing with an image that does have a caption, the caption is correctly updated.
Screenshots, screen recording, code snippet
No response
Environment info
No response
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
The text was updated successfully, but these errors were encountered: