KParts can extend their mimetypes with plugins
Certain KParts can extend their mimetypes with plugins
This feature was kind of lost in the KF6 porting that dropped the desktop files.
Look for a key in the json file to see what plugins to look for for extra mimetypes.