Fix paste in code suggestions
What does this MR do and why?
Fix paste in code suggestions
Changelog: fixed
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Screen Recording 2023-07-18 at 01.30.50.mov | Screen Recording 2023-07-18 at 01.29.45.mov |
How to set up and validate locally
- Go to an MR
- Copy a paragraph or some HTML content
- Add a comment on a diff
- Insert a code suggestion in rich text editor
- Paste HTML content in the suggestion code block
- It should paste as raw text (and not a new paragraph)
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 Himanshu Kapoor