revealjs v4.1.0 Release Notes
Release Date: 2020-10-12 // over 4 years ago-
๐ Changes
- ๐ New: Add
data-visibility="hidden"
to a slide to hide it from view. Docs & examples - ๐ New: Add the
r-fit-text
class to make a text node grow to be as large as possible without overflowing the slide. Docs & examples - ๐ง The configured slide width/height is now exposed as CSS variables (
--slide-width
/--slide-height
). - The shuffle config option now shuffles vertical slides as well.
- All themes now invert the text color based on the current slide background color.
- ๐ฆ Include /css and /js in npm package.
๐ Fixes
- Don't append #/ to the URL on first slide.
- Don't fill the progress bar when there's only one slide in a deck
- Correct slide count when using data-visibility="uncounted" (#2675)
- ๐ New: Add
Previous changes from v4.0.2
-
๐ Changes
- ๐ Enables caching for JavaScript builds, making subsequent builds ~50% faster.
- In auto-sliding presentations, the
data-autoslide
attribute now takes precedence over automatic detection of<video>
durations. - โ Remove overzealous reset styles when printing to PDF.
- ๐ง
Reveal.configure
andReveal.isReady
are now available in the pre-initialized reveal.js API, to match v3.x behavior. - ๐ฑ Switches to serving demo presentation assets from a CDN.
๐ Bug fixes
- ๐ Fixes polyfills and adds IE 11 support.
- ๐ Fixes the progress bar direction in right-to-left mode.