Skip to content
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

How can I delete the delete option in the context menu #474

Closed
dentistfrankchen opened this issue Jun 9, 2024 · 1 comment
Closed

How can I delete the delete option in the context menu #474

dentistfrankchen opened this issue Jun 9, 2024 · 1 comment

Comments

@dentistfrankchen
Copy link

I want to hide the "delete" option in context menu, how can I do this?

@dimateos
Copy link

There might be a way to do it by using non languange dependant strings, but you can match anything with "find"

For example in spanish:

remove(find = '"Copiar"')
remove(find = '"Cortar"')
remove(find = '"Pegar"')
remove(find = '"Abrir"')
remove(find = '"Editar"')
remove(find = '"Eliminar"')
remove(find = '"Cambiar nombre"')

Those are exact matches due to the "", drop them for partial matches,.
You can also use wildcards with "*"

@moudey moudey closed this as completed Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants