Idea: Specify a Rich Text Textarea
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 4.5k
- Forks
- 226
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 4
Description
Many projects have rich text input fields, including the one that I am typing into right now.
Often, these textareas have inconsistent usage pattern or are completely inaccessible.
A native HTML rich textarea could provide a consistent and consistently accessible way to enter rich text.
Brainstormy list of features:
- Text field with controls that allow formatting.
- The website can specify which controls are available
- The text is formatted as a JSON string for the website to interpret (See https://github.com/portabletext/portabletext)
- Additionally, there is a toHTML function that creates a JavaScript HTML representation. And of course, fromHTML would take HTML to be edited.
- Maybe in a second step, the text field needs an extension API to allow injection of (HTML) templates from the website for customization.
Maybe this is of interest to the group, if not, feel free to close the issue.
Contributor guide
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
This issue is a brainstorm for a native HTML rich text textarea, with formatting controls, configurable controls, JSON serialization, toHTML/fromHTML conversion, and possibly an extension API. Start by reviewing the proposal and its Portable Text reference; there are no repository files or tests named. Done would require an agreed scope and specification before implementation can begin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- accessibility, frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100