jcponce
Hello! Are there any plans for updating the Chalkboard plug-in for the latest version of reveajs 5.2.0? Thanks!
#194 · closed · 9 comments
Hello! Are there any plans for updating the Chalkboard plug-in for the latest version of reveajs 5.2.0? Thanks!
Can you please explain what is preventing you from using the latest version of the plugin? If there is anything not working, a detailed description would be necessary to provide a fix.
Hi Asvin, First of all, thanks for your reply. I have used revealjs 4.6.0 with the Chalkboard plugin 2.3.3. This combination works fantastic. Here is an example I use for my classes: https://esc-maths.github.io/slides/1010eng/week-07.html#/ I tried to use the latest version of revealjs 5.2.0 with Chalkboard plugin 2.3.3, but when I try to use the marking tool or the chalkboard, it just does not work, here is the online demo that does not work: https://esc-maths.github.io/slides/template/#/ Or perhaps I am doing something wrong in the setup. Here is the source code: https://github.com/esc-maths/esc-maths.github.io/tree/main/slides/template https://github.com/esc-maths/esc-maths.github.io/blob/main/slides/template/mySetup/setup.js I followed the instructions provided in GitHub: https://github.com/rajgoel/reveal.js-plugins/tree/master/chalkboard But maybe I missed something. :( Finally, I just wanted to update to the 5.2.0 version to try its recent features, but to be honest, reaveljs 4.6.0 with the Chalkboard plugin 2.3.3 still works for essentially what I need in my classes. So, it is not a big issue. I hope this makes sense. Thanks.
Hi, thanks for the update, this will be helpful. So far, I also still use an older version of reveal.js because it fulfills my needs. However, I am considering to update for my courses in Fall and will try to fix the glitches/incompatibilities I encounter. But of course, time is limited so don't expect a quick fix. Should you find a fix/workaround meanwhile please let me know or create a PR.
P.s. are you using the latest version from main, or the latest release? If i remember correctly, there are a few changes in the latest version from main that have not made it into the release yet.
I am using the one directly from the master: https://github.com/hakimel/reveal.js/tree/master/dist
I just published a minor new version 4.6.0 on npm with some commits that accumulated since the last release. I tried with the below includes and the chalkboard plugin appears to work with revealjs 5.2.0. ```html <!-- Reveal.js --> <script src="[https://cdn.jsdelivr.net/npm/[email protected]/dist/reveal.js](view-source:https://cdn.jsdelivr.net/npm/[email protected]/dist/reveal.js)"></script> <link rel="stylesheet" href="[https://cdn.jsdelivr.net/npm/[email protected]/dist/reveal.css](view-source:https://cdn.jsdelivr.net/npm/[email protected]/dist/reveal.css)"> <link rel="stylesheet" href="[https://cdn.jsdelivr.net/npm/[email protected]/dist/theme/simple.css](view-source:https://cdn.jsdelivr.net/npm/[email protected]/dist/theme/simple.css)" id="theme"> <!-- Native plugins of reveal.js --> <script src="[https://cdn.jsdelivr.net/npm/[email protected]/plugin/markdown/markdown.js](view-source:https://cdn.jsdelivr.net/npm/[email protected]/plugin/markdown/markdown.js)"></script> <script src="[https://cdn.jsdelivr.net/npm/[email protected]/plugin/math/math.js](view-source:https://cdn.jsdelivr.net/npm/[email protected]/plugin/math/math.js)"></script> <script src="[https://cdn.jsdelivr.net/npm/[email protected]/plugin/highlight/highlight.js](view-source:https://cdn.jsdelivr.net/npm/[email protected]/plugin/highlight/highlight.js)"></script> <link rel="stylesheet" href="[https://cdn.jsdelivr.net/npm/[email protected]/plugin/highlight/zenburn.css](view-source:https://cdn.jsdelivr.net/npm/[email protected]/plugin/highlight/zenburn.css)"> <!-- Chalkboard plugin --> <script src="[https://cdn.jsdelivr.net/npm/[email protected]/chalkboard/plugin.js](view-source:https://cdn.jsdelivr.net/npm/[email protected]/chalkboard/plugin.js)"></script> <link rel="stylesheet" href="[https://cdn.jsdelivr.net/npm/[email protected]/chalkboard/style.css](view-source:https://cdn.jsdelivr.net/npm/[email protected]/chalkboard/style.css)"> <!-- Custom controls plugin --> <script src="[https://cdn.jsdelivr.net/npm/reveal.js-plugins@latest/customcontrols/plugin.js](view-source:https://cdn.jsdelivr.net/npm/[email protected]/customcontrols/plugin.js)"></script> <link rel="stylesheet" href="[https://cdn.jsdelivr.net/npm/[email protected]/customcontrols/style.css](view-source:https://cdn.jsdelivr.net/npm/reveal.js-plugins@latest/customcontrols/style.css)"> ```
@jcponce With "latest version from main", I was referring to the plugins, not reveal.js. Probably, you missed out some of the latest commits for the plugin which were not yet in the release. This should now be smoother. Can you please check whether it works for you now and close the issue if it works.
Hi. Sorry, I misunderstood. I used this version of the plugin: https://github.com/rajgoel/reveal.js-plugins/blob/master/chalkboard/plugin.js But I downloaded it a while ago, so I maybe I missed the updates that work with revealjs 5.2.0. The links you just provided above work perfect: https://esc-maths.github.io/slides/template Thanks! 👍
Great, thanks for the feedback!