Skip to content

Fix reference styles in content editor

Himanshu Kapoor requested to merge himkp-ce-references-fix into master

What does this MR do and why?

Make sure references in content editor aren't clickable, and quick action references are rendered as span.

See #379045 (comment 1330957672)

Screenshots or screen recordings

Screen_Recording_2023-03-28_at_19.37.26

How to set up and validate locally

  1. Access content editor. Content editor (rich text editor) is available in wikis globally, and in issue/MR comments behind a feature flag :content_editor_on_issues. Click "Viewing markdown" at bottom right and select "Rich text" from the menu to switch to content editor.
  2. Try to insert a reference to a user / issue or a quick action.
  3. Note that quick actions aren't links, and other references, while referering to # do not actually take you to the top of the page.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports