react-component / react-component/mentions

Style each mention differently

Open
#98 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
112
Forks
65
Avg merge
28m
Merged PRs (30d)
2

Description

Hey!

Is it possible to style each mention tag differently in the textarea?

For example if you have "A", "1" as suggestions in a single list, when the user selects "A" the background colour for that tag is blue, but when the user selects "1" the background colour is green

Thank you :)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the component that renders selected mentions and the code handling suggestion selection. Check how mention data and styles are currently represented. Done means different selected suggestions can display distinct background colours in the textarea, with the existing single-list behaviour preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.