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 to set enableMenu to false? #28

Open
cris0501 opened this issue Sep 7, 2021 · 2 comments
Open

How to set enableMenu to false? #28

cris0501 opened this issue Sep 7, 2021 · 2 comments

Comments

@cris0501
Copy link

cris0501 commented Sep 7, 2021

How to disable the popup menu when right clicking on the equation?
The probe passing the prop :options="{enableMenu: false}"
I already tried to modify the vue-mathjax.vue file in the src folder but nothing
Please help

@justforuse
Copy link
Owner

I think you are using Mathjax@3, for Mathjax@2, I found it should be like:

'HTML-CSS': {
    showMathMenu: true
},

@Briantam0422
Copy link

Briantam0422 commented Jun 1, 2023

I know it is too late for a reply. However, I want to provide a solution to other developers who can't find the solution.

You can change the menu display to none in CSS.

.MathJax_Menu.MathJax_ContextMenu{
  display: none;
}

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