Using Plain Text Editor for read-only users

Hi Folks,

i am using Plain Text Editor and i am happy with it in general.

i would be super interested to have the plain text editor available for users that have “read-only” rights.
At the moment, editor opens, if you have rights to edit, and the file is automatically downloaded, when read-only user click it.

Have you an idea, how i could change this behavior?

Kind regards