@iwojima @iwojima With Mitra 2.4.0 you can configure your instance to allow text/plain or any other media type (be careful though, some media types expose users to XSS attacks).
Use configuration option limits.media.extra_supported_types (the value should be an array)