4.3.0
版本发布时间: 2022-02-28 17:24:13
hakimel/reveal.js最新发布版本:5.1.0(2024-04-11 15:03:04)
tldr — self-destruction and bug fixes 💣
Changes
- It's now possible to destroy/uninitialize a reveal.js presentation. This will remove all event listeners and roll back all changes made to the DOM. It will also unregister all plugins and destroy them if they expose a destroy method. (#1145 / @hakimel)
Reveal.destroy();
- You can now provide an absolute URL to the presentation that should be loaded in the speaker view. This is useful if you have a presentation integrated as part of a web page but still want the speaker view to work.
Reveal.initialize({ url: 'https://example.com/my-reveal-presentation' })
- Source maps are now included in dist (#3082 / @dabrahams)
Fixes
- Fix the speaker view no longer goes out of sync with your presentation after live-reloading (#2822 / @hakimel).
- Fix XSS vulnerability in speaker view (#3137 / @r0hanSH)
- Fix issues with scaling embedded presentations when entering fullscreen mode in Safari (#3080 / @Martinomagnifico)