Commit c5cb2b8
Add (le|sa|sc)ss and styl file types to list of forced text extensions. (codesandbox#1056)
<!-- Is it a Bug fix, feature, docs update, ... -->
**What kind of change does this PR introduce?**
Add (le|sa|sc)ss and style files types to the list of forced text extensions.
<!-- You can also link to an open issue here -->
**What is the current behavior?**
codesandbox#348 (comment)
When uploading(le|sa|sc)ss or styl (and probably other) files, and error message is thrown:
"This file is too big to edit
We will add support for this as soon as possible
Open file externally".
It seems the zip implementation does not recognize them as text files. CompuIves recommends to add them to the list of forced text extensions.
Important: This happens only, when such files are *uploaded*! (creating such files within the editor works fine.)
<!-- if this is a feature change -->
**What is the new behavior?**
On upload, recognize more file types. (Again: on *upload*!)
<!-- Have you done all of these things? -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [ ] Documentation N/A
- [ ] Tests
- [ ] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->
<!-- feel free to add additional comments -->
I do this upon being challenged by compulves (see link above) to contribute.
<!-- Thank you for contributing! -->1 parent f2116fd commit c5cb2b8
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
| |||
0 commit comments