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

MathJax menu unavailable inside born hidden knowls #2062

Open
Alex-Jordan opened this issue Sep 8, 2023 · 1 comment
Open

MathJax menu unavailable inside born hidden knowls #2062

Alex-Jordan opened this issue Sep 8, 2023 · 1 comment

Comments

@Alex-Jordan
Copy link
Contributor

Find a born-hidden knowl that has math content. For example the "Answer" knowl to exercise 6 here:
Exercise Group
https://pretextbook.org/examples/sample-article/html/section-further-reading.html#exercisegroup-5

Open it, and try to right-click on the math. This should reveal the MathJax menu, but it does not. This seems to be an issue for born-hidden knowls, not xref knowls.

Some discussion of this is here.

@bnmnetp
Copy link
Contributor

bnmnetp commented Sep 8, 2023

I believe this is the same issue for many of the runestone components. The even handlers are lost in the copying process when the knowl is made visible.

It would be good to find one universal fix for both.

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

2 participants