Retain selection in content editor on blur
What does this MR do and why?
Allow selections in content editor to be retained on blur to allow link selection to be visible when editing URL and text.
Screenshots or screen recordings
Before | After |
---|---|
Screen_Recording_2023-04-15_at_21.18.29 | Screen_Recording_2023-04-15_at_21.17.59 |
How to set up and validate locally
- Enable feature flag
:content_editor_on_issues
. Enable content editor on the bottom right corner using the editor mode switcher. - Create a new issue.
- Select some text and click the link button.
- Enter a URL. Notice that the selection is still visible while you're entering the link URL.
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 #407227 (closed)