Martinomagnifico / reveal.js-verticator

A plugin for Reveal.js that adds indicators to show the amount of slides in a vertical stack.
https://martinomagnifico.github.io/reveal.js-verticator/demo/demo.html
MIT License
46 stars 6 forks source link

hashOneBasedIndex Bug #4

Closed nicofranzp closed 3 years ago

nicofranzp commented 3 years ago

Hi, I was trying to use verticator and noted that the clickable buttons fail with the option hashOneBasedIndex: true. The click sends to the previous slide. Best

Reveal.initialize({
    slideNumber: true,
    hash: true,
    // hashOneBasedIndex: true,
    controls: false,
    progress: true,
    history: true,
    center: true,
    overview: false,
    loop: false,
    transition: 'slide', // none/fade/slide/convex/concave/zoom
    disableLayout: false, // to use my own layout!!
    math: {
        mathjax: 'https://cdn.jsdelivr.net/gh/mathjax/mathjax@2.7.8/MathJax.js',
        config: 'TeX-AMS_HTML-full',
        // pass other options into `MathJax.Hub.Config()`
        TeX: { Macros: { RR: "{\\bf R}" } }
    },
    verticator: {darktheme: true},
    // Learn about plugins: https://revealjs.com/plugins/
    plugins: [RevealHighlight, RevealNotes, RevealMath, Verticator]
});
Martinomagnifico commented 3 years ago

Thanks for the issue! This is now fixed in version 1.0.8.