Prevent display/edition of certain files


I’m experimenting the Collabora Online (docker) integration with NextCloud 14, and it works fine.
However, every file which is shared via a public link is now automatically opened in view/edit mode by Collabora. Is it possible to prevent that this happens in some way, and make some files just downloadable as usual, while others can still be edited?