Open andrewserong opened 3 years ago
This came up as part of the FSE Outreach Program's All Things Media exploration:
It would be nice that when an image is changed in a gallery that the previous caption entered through the block editor and not the media editor would also go away. Currently, the old captions will still show after the image has been swapped.
During testing of the gallery refactor it was reported that if you replace an image with a caption with an image without a caption, the caption on the image is retained, which might not be the expected behaviour.
I could replicate this, and I had a couple of thoughts:
I think I'm leaning toward thinking that we should default to the second expectation. Here's a screengrab of the current behaviour, where the caption is retained: