IPP-TN Hi, could you tell me how can i be able to edit the file using file editor for some original extension files... like .org instead of .txt?
You mean you want Files Gallery to treat .org
files like .txt
files so you can edit them like text? The only org
extension I am aware of, is that created from "Lotus Organizer" (discontinued). May I ask from where your org
files originate from?
There is a way, by setting config get_mime_type option to true
, the server will investigate the mime-type and likely return text/plain
(tested from here), in which case it will be editable like a text file.
By default, mime is created by extension and org
would return text/x-org
. We can't really allow the editor for all mime types that start with text/
because that includes non-editable file types like rich text format rtf
.