react-component / react-component/mentions
[question] any way to use suggestions with spaces
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 112
- Forks
- 65
- Avg merge
- 28m
- Merged PRs (30d)
- 2
Description
Hi!
Can you tell about possibility to use spaces in suggestions.
I want to have vocabulary ['hi world', 'hello world', 'world'].
I was debugging code and find https://github.com/react-component/mentions/blob/331757d9b5cdaccabd76ecdeed0f6954bc019d7a/src/Mentions.tsx#L161 =(
I'm also used Ant.design if it helpful.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/Mentions.tsx around line 161, which the issue identifies while describing how suggestions are processed. Investigate how the example vocabulary with spaces is handled and define completion as supporting those suggestions without breaking the existing single-word example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100