Fix "Continue editing" button being retained
What does this MR do and why?
Fix "Continue editing" button being retained
If you submit a comment on an issue while in preview mode, the continue editing button stays there, even though the comment box switched back to edit mode.
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-20 at 02.06.45.mov | Screen Recording 2023-09-28 at 13.23.06.mov |
How to set up and validate locally
- Write a comment on an issue using the plain text editor.
- Click Preview
- Submit the comment
- Notice the "Continue editing" button no longer stays visible as the toolbar reappears.
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.
Related to #419179 (closed)
Edited by Himanshu Kapoor