Distinct select style for user mentions in RTE
What does this MR do and why?
Ensure that:
- non-current-user mentions in rich text editor, when selected, have a more distinct style
- any user mention in rich text editor, when selected by itself, has a nicer selection style
Screenshots or screen recordings
How to set up and validate locally
- Check out this branch
- Visit an issue, MR or work item
- Scroll to the new comment input
- Ensure you are using rich text editing
- Type some text that includes a mention of another user and a mention of your own user
- Click once on the other user mention
- You should see that the user mention has a 2px blue-100 box shadow around it and the mention itself has a blue-200 background
- Click once on the mention of your own user
- You should see that the user mention has a 2px blue-100 box shadow around it and the mention itself has no style change
- Select all the text
- You should see that the other-user mention has a blue-200 background
Related to #419087 (closed) Related to #474922 (closed)
Edited by Chad Lavimoniere















