简报·YT
← 返回 GitHub 动态
hakimel/reveal.js · ⭐ 已Star 已完成

hakimel/reveal.js 6.0.2

2026-09-10 15:41 · ⭐ 7.2万 · GitHub Release 原文 ↗
#安全修复 #性能优化 #移动适配

hakimel/reveal.js 6.0.2

注:本次提供的内容是 GitHub Release Notes 而非视频文字稿,因此按 Release Notes 的要求输出。

一句话概括:6.0.2 是一个以安全和稳定性为主的补丁版本,修复了 postMessage 引发的跨域 XSS 漏洞、Markdown 列表属性、离屏幻灯片焦点、捏合缩放误触等问题,并提升滚动视图性能与移动端控件适配。

变更要点

▸ Release Notes 英文原文(801 字符)
## Changes * Fix cross-origin XSS through the postMessage API by validating iframe preview URLs * Fix Markdown attributes targeting the last list item instead of the whole list when separated by a blank line #3931 * Prevent offscreen slides from receiving keyboard focus #1587 * Fix pinch-to-zoom gestures incorrectly triggering slide changes * Improve slide layout and scroll view performance * Fix slides repeatedly loading and unloading while scrolling * Scale navigation controls, progress bars and media buttons for mobile viewports * Round slide scale to two decimal places * Update dependencies to address security vulnerabilities. Building and developing reveal.js now requires Node.js 22.12 or later **Full Changelog**: https://github.com/hakimel/reveal.js/compare/6.0.1...6.0.2
▸ 主项目介绍 · hakimel/reveal.js
▸ README 原文(同步于 2026-07-23 00:34)
<p align="center"> <a href="https://revealjs.com"> <img src="https://hakim-static.s3.amazonaws.com/reveal-js/logo/v1/reveal-black-text-sticker.png" alt="reveal.js" width="500"> </a> <br><br> <a href="https://github.com/hakimel/reveal.js/actions"><img src="https://github.com/hakimel/reveal.js/workflows/tests/badge.svg"></a> <a href="https://slides.com/"><img src="https://static.slid.es/images/slides-github-banner-320x40.png?1" alt="Slides" width="160" height="20"></a> </p> reveal.js is an open source HTML presentation framework. It enables anyone with a web browser to create beautiful presentations for free. Check out the live demo at [revealjs.com](https://revealjs.com/). The framework comes with a powerful feature set including [nested slides](https://revealjs.com/vertical-slides/), [Markdown support](https://revealjs.com/markdown/), [Auto-Animate](https://revealjs.com/auto-animate/), [PDF export](https://revealjs.com/pdf-export/), [speaker notes](https://revealjs.com/speaker-view/), [LaTeX typesetting](https://revealjs.com/math/), [syntax highlighted code](https://revealjs.com/code/) and an [extensive API](https://revealjs.com/api/). --- Want to create reveal.js presentation in a graphical editor? Try <https://slides.com>. It's made by the same people behind reveal.js. --- ### Getting started - 🚀 [Install reveal.js](https://revealjs.com/installation) - 👀 [View the demo presentation](https://revealjs.com/demo) - 📖 [Read the documentation](https://revealjs.com/markup/) - 🖌 [Try the visual editor for reveal.js at Slides.com](https://slides.com/) - 🎬 [Watch the reveal.js video course (paid)](https://revealjs.com/course) --- <div align="center"> MIT licensed | Copyright © 2011-2026 Hakim El Hattab, https://hakim.se </div>