-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow prioritizing default file actions for a mime type (per user) #5065
Comments
I like that approach more. The cleaner hack. But still feels like a hack. |
I'd rather prefer a "Open with" dialogue but yay, JavaScript 😉 |
This comment was marked as resolved.
This comment was marked as resolved.
There are priorities for file actions now, but we still have two problems:
1 is a server issue (this on) and 2 is a viewer issue and handled here: nextcloud/viewer#2393 |
Steps to reproduce
I think it would be nice to have something like a priority of the actions. Currently the last one wins, and since richdocuments is after files_texteditor in the alphabet, files_texteditor has no way to ever win this.
Proposal is to add something like priority to:
server/apps/files/js/fileactions.js
Line 144 in 2b79490
and then:
This would allow the files_texteditor to register for text files, while richdocuments can also, so in case files_texteditor is not there, you can still edit them.
Alternate approach would be hacking into richdocuments to only register, when files_texteditor is not there.
cc @MorrisJobke @LukasReschke
cc @RealKelsar for reporting it in IRC
The text was updated successfully, but these errors were encountered: