software-mansion / software-mansion/react-native-enriched-html
[Feature request] Text color - one of the most important things in a text editor
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 66
- Avg merge
- 4d 19h
- Merged PRs (30d)
- 11
Description
Issue:
The library currently supports styles like bold, italic, underline, and strikethrough, but there's no option to set or toggle text color on a selection. This limits the ability to create visually distinct content - for example, color-coding different categories of content within a text field. This feature is in almost any text editor UI like notion, google docs etc.
Why people still use WebView:
Most WebView-based libraries already support this, but as we all know they are not as UI-friendly or performant.
Notion:
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 by tracing how the existing bold, italic, underline, and strikethrough styles are represented and applied to selections. Define the set and toggle behavior for text color, then verify that selected text can receive and retain the chosen color.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100