You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently learned about speaker notes for fragments #1636, which are really useful. However, the notes defined in the data-notes attribute do not appear on the slides when using shownotes: true. I tested a minimal working example with version 5.1.0 and the latest commit on master.
<!doctype html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>reveal.js</title><linkrel="stylesheet" href="dist/reset.css"><linkrel="stylesheet" href="dist/reveal.css"><linkrel="stylesheet" href="dist/theme/white.css"></head><body><divclass="reveal"><divclass="slides"><section><h1>Example</h1><ol><liclass="fragment" data-notes="Notes for 1">Item 1</li><liclass="fragment" data-notes="Notes for 2">Item 2</li><liclass="fragment" data-notes="Notes for 3">Item 3</li></ol></section></div></div><scriptsrc="dist/reveal.js"></script><scriptsrc="plugin/notes/notes.js"></script><scriptsrc="plugin/markdown/markdown.js"></script><scriptsrc="plugin/highlight/highlight.js"></script><script>Reveal.initialize({hash: true,showNotes: true,plugins: [RevealMarkdown,RevealHighlight,RevealNotes]});</script></body></html>
Open this presentation, go to the next slide and notice that "Speaker notes" on the side of the slide remains empty (I would expect it to show "Notes for 1" and so on). The notes show up correctly in the speaker view.
In the following image, see that the notes appear in the bottom right pane but not on the slide (left pane).
My current solution is to add a function triggered when a fragment is shown.
Hello,
First off, thanks for this amazing project!
I recently learned about speaker notes for fragments #1636, which are really useful. However, the notes defined in the
data-notes
attribute do not appear on the slides when usingshownotes: true
. I tested a minimal working example with version 5.1.0 and the latest commit on master.Open this presentation, go to the next slide and notice that "Speaker notes" on the side of the slide remains empty (I would expect it to show "Notes for 1" and so on). The notes show up correctly in the speaker view.
In the following image, see that the notes appear in the bottom right pane but not on the slide (left pane).
My current solution is to add a function triggered when a fragment is shown.
The workaround is probably not the best but works in my case.
Would it be possible to get the fragment speaker notes to show up on the slide when using the
shownotes: true
option?The text was updated successfully, but these errors were encountered: