Fix user reference styles in content editor
What does this MR do and why?
Fix styling of user references and when the user is current user in content editor.
See: #379045 (comment 1331283748)
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- 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. - Press
@
to make the user suggestions dropdown show and select a user. - Notice that the styling of users is exactly like markdown preview now. (i.e. current users are highlighted in yellow, and all other users are highlighted in blue.)
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.
Edited by Himanshu Kapoor