1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-10-25 12:16:16 +02:00

prevent iframes from auto-focusing and disabling keyboard nav, controllable via preventIframeAutoFocus

This commit is contained in:
Hakim El Hattab
2025-09-16 12:05:59 +02:00
parent 8bb6674303
commit c9d6785df2
6 changed files with 25 additions and 4 deletions

View File

@@ -168,6 +168,9 @@ export default {
// - false: All iframes with data-src will be loaded only when visible
preloadIframes: null,
// Prevent embedded iframes from automatically focusing on themselves
preventIframeAutoFocus: true,
// Can be used to globally disable auto-animation
autoAnimate: true,