Skip to content

Fix paste in code suggestions

Himanshu Kapoor requested to merge himkp-paste-in-code-suggestions into master

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

  1. Go to an MR
  2. Copy a paragraph or some HTML content
  3. Add a comment on a diff
  4. Insert a code suggestion in rich text editor
  5. Paste HTML content in the suggestion code block
  6. 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.

Edited by Himanshu Kapoor

Merge request reports