Insert suggestion in MR comment doesn't render correctly after switching from plain text to rich text
Summary
I see the Insert suggestion
in MR comment doesn't render correctly after I switch from plain text to rich text.
Steps to reproduce
- Click add a comment to a line in a MR.
- Make sure you are in the rich text editing mode.
- Choose
Insert suggestion
- (it should show you a green line and a red line as expected interface of
Insert suggestion
) - Choose
Switch to plain text editing mode
- Choose
Switch to rich text editing mode
Example Project
You can test it in this MR. I am not sure if it is the case everywhere:
- Line 271 is buggy https://gitlab.com/gitlab-com/gl-infra/release-environments/-/merge_requests/200/diffs#587d266bb27a4dc3022bbed44dfa19849df3044c_260_271