Upload external media replaces images in wrong order and/or creates duplicates #65281
Closed
2 tasks done
Labels
[Feature] Media
Anything that impacts the experience of managing media
[Package] Editor
/packages/editor
[Type] Bug
An existing feature does not function as intended
Description
When copy-pasting content with several images from e.g. google docs and hitting Publish, an option to upload external images appears. Sometimes when using it the images in the editor gets replaces by the wrong image after the upload is done. So that if a document had images A, B and C, after the upload is done B and C are replaces by copies of A.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Google doc with example content: https://docs.google.com/document/d/1FSNt8QQFofPu27PvoUOo7Gwq1hedkoNoD1t2_KuSFAo/edit?usp=sharing
Screen recording: https://drive.google.com/file/d/1O2WXbaTrGUHFUmToyc8iYdVPsIjmNncv/view?usp=sharing
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: