(Bug) Replacing an image erases the caption with no way to get it back
Author: mccoysCreated Sep 17, 2026Updated Sep 17, 2026
Labelstriage
What happened?
When using the "replace image" button, then uploading a new version of the image, it seems like the whole block is replaced. The caption and the alignment (center, left, right) are both lost. It is not even possible to recover the previous caption or image using ctrl-Z.
Possible solution?
The caption and the image alignment should be kept for the new image.
Version
5.6
Instance url
https://docs.numerique.gouv.fr
What browsers are you seeing the problem on?
Firefox
Relevant log output
Upload screenshots
No response
Contact Details
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Source: suitenumerique/docs