hakimel / reveal.js

The HTML Presentation Framework
https://revealjs.com
MIT License
67.29k stars 16.61k forks source link

Shortcut not working on github pages #3211

Open AhmedThahir opened 2 years ago

AhmedThahir commented 2 years ago

Hi I've remapped z to go to black screen.

It works correctly when the presentation is opened in localhost and local file. but not when hosted on github pages.

Martinomagnifico commented 1 year ago

Do you have a code example? How did you remap the z?

AhmedThahir commented 1 year ago

This is what I used to remap

Reveal.initialize({
  keyboard: {
    90: 'togglePause'
  }
});