Set default app by filetype

Hi, I have installed the app “plain text editor” (the old text editor). Now, I can edit .md files by right clicking » “edit with plain text editor”, if I open the .md file with a normal click, the default wysiwyg text editor.

How can I set the default open action for .md files to open them with the plain text editor?

Thanks.

Same question. Is there an option in settings or code modification to to set a plain text editor as an editor by default?

Couldn’t find a solution for this aswell.
I uninstalled all text editors except Collabora but when I click on one it just tries to download…