Disable navigation with arrow keys on some pages #761
-
We've got a jupyter book with a JSON validator on one page: https://bids-standard.github.io/stats-models/validator.html It's currently quite hard to use because the left and right arrow keys navigate to other pages, keeping them from being used while editing text. Is there any way to disable arrow key navigation for an individual page? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I have had to do this here by patching into the static path: There is probably a better way to do it but I don't know how. At least will give you some places to start looking in: |
Beta Was this translation helpful? Give feedback.
I have had to do this here by patching into the static path:
https://github.com/executablebooks/mystjs/blob/main/docs/Makefile#L3
There is probably a better way to do it but I don't know how. At least will give you some places to start looking in:
/_build/html/_static/documentation_options.js