You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/*.
The text was updated successfully, but these errors were encountered:
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 oftext/*
.The text was updated successfully, but these errors were encountered: