Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: allow configuration of binary file types #233

Open
BVMiko opened this issue Jan 12, 2023 · 0 comments
Open

Feature request: allow configuration of binary file types #233

BVMiko opened this issue Jan 12, 2023 · 0 comments

Comments

@BVMiko
Copy link

BVMiko commented Jan 12, 2023

There is currently a static list of binary file types which will not be opened in the text editor, I'm proposing to make that a configuration option.

For my specific use case, I want to edit an SVG file, which is just an XML.

The raw_open variable is restricting SVG, considering it a binary file type. Additionally, the request to the file API needs to be updated to specify an accept header of text/*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant