Skip to content

Update to reveal.js 4.0.0 plugin format and fix notes bug#14

Open
tty0482 wants to merge 2 commits intosebhildebrandt:masterfrom
tty0482:work
Open

Update to reveal.js 4.0.0 plugin format and fix notes bug#14
tty0482 wants to merge 2 commits intosebhildebrandt:masterfrom
tty0482:work

Conversation

@tty0482
Copy link

@tty0482 tty0482 commented Apr 29, 2025

This pull request updates the plugin to the format specified by reveal.js 4.0.0.

It also fixes a bug with regards to notes and shuffling - previously, the shuffle could result in some of the tags being shuffled into the

Element, as the innerHTML lines were shuffled. The new version removes any child elements of the slide that are an Element or have the .notes class, then appends them again after the shuffle, thereby ensuring that all tags are still present and the speaker notes are preserved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant