Skip to content

Retain selection in content editor on blur

Himanshu Kapoor requested to merge 407227-ce-link-selection into master

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

  1. Enable feature flag :content_editor_on_issues. Enable content editor on the bottom right corner using the editor mode switcher.
  2. Create a new issue.
  3. Select some text and click the link button.
  4. 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.

Related to #407227 (closed)

Merge request reports