Html file upload is not allowed

Hi, I have a problem with allowing the upload of very simple html via the panel.
When uploading a file I get the error: “The media type “text/html” is not allowed”

There is a file section with the following file blueprint:

title: codefile
accept: 
  extension: html

And even a plugin for a new filetype:

<?php
Kirby::plugin('html/uploads', [
    'fileTypes' => [
        'html' => [
          'mime' => 'text/html',
          'type' => 'code',
        ]
    ]
]);

But it’s still not allowed.
Is there any other place where i can define an exception?

thanks,
Felix

Uploading .html files is not possible for security reasons.

I understand the security reasons, but in this case it won’t be problematic.
So there is still no way to allow html uploads? (Allow HTML Uploads · Issue #780 · getkirby-v2/panel · GitHub)
Just the solution with static links to outside of the content folder?

Right, there is no out-of-the-box solution. An option could be a custom file class with its own rules, which requires some development work.