Skip to content

Render reference link correctly

Himanshu Kapoor requested to merge 412316-ce-issue-urls into master

What does this MR do and why?

Render reference link correctly

In content editor, render URL of the reference link correctly so that it may be opened in a new tab.

Changelog: changed

Screenshots or screen recordings

Screen Recording 2023-06-27 at 18.07.27.mov

How to set up and validate locally

  1. Enable feature flag :content_editor_on_issues.
  2. Create an issue.
  3. Switch to rich text mode.
  4. Add an issue/MR/user reference.
  5. Try opening the link to the reference in new tab. It will open the correct URL now instead of opening the page you were editing.

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 #412316 (closed)

Merge request reports

Loading