Fix copying/pasting images inside the Content Editor
What does this MR do and why?
This MR fixes a bug in the Content Editor where cutting/copying an image inside the editor and pasting it inside the editor again resulted in invalid Markdown.
Screenshots or screen recordings
Before
After
How to set up and validate locally
- Ensure you can upload images in your local environment.
- Edit a Wiki page.
- Switch to the Content Editor
- Drag an image inside the editor and wait until it is uploaded.
- Cut the image and paste it again in the editor.
- Switch to the Edit source mode. The image should still have a valid path.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Enrique Alcántara