You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a configuration that you can use to hook into the reset menu:
MathJax={startup: {ready(){MathJax.startup.defaultReady();constreset=MathJax.startup.document.menu.menu.find('Reset');reset.registerCallback((item)=>{// your actions here ("item" will just be the same as "reset" in this case)});}}};
This will run after all the other items that have been registered.
Is there a way to also execute custom code when the user selects the "Reset to Defaults" menu item?
The text was updated successfully, but these errors were encountered: