1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-08 07:36:39 +02:00

notes plugin allows messsages from current/upcoming slide windows

This commit is contained in:
hakimel
2022-03-21 10:36:22 +01:00
parent 31407082eb
commit 0247ae7582
4 changed files with 9 additions and 5 deletions

View File

@@ -203,6 +203,7 @@ const Plugin = () => {
// that we remain connected to the notes even if the presentation
// is reloaded.
window.addEventListener( 'message', event => {
if( !speakerWindow && typeof event.data === 'string' ) {
let data;