Add application/toml Mimetype
Open
Nobody has claimed this yet.
0. Needs triage
enhancement
feature: files
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
[!TIP]
Help move this idea forward
- Use the 👍 reaction to show support for this feature.
- Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
- Subscribe to receive notifications about status changes and new comments.
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Add the application/toml Mimetype to src/helpers/mime.js so .toml files can be opened and edited in the text editor.
Describe alternatives you've considered
None
Additional context
N/A
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
Start in src/helpers/mime.js and inspect how file extensions are mapped to MIME types. Add support for .toml using application/toml so TOML files can be opened and edited in the text editor, then verify the mapping through the relevant existing checks or manual editor behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100