From f9ce61e34af22458c7a38bda4084513c566fcee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Lechtenb=C3=B6rger?= Date: Thu, 16 Sep 2021 11:56:52 +0200 Subject: [PATCH 1/2] Support multiple aside notes elements per slide So far, multiple notes per slide are only supported if they are attached to fragments (without fragments, only the first aside notes element on a slide is displayed). With this commit, the contents of all notes on a slide are displayed (except for fragments with notes, for which, as before, only each fragment's first/single note is displayed). --- js/controllers/notes.js | 16 ++++++++++------ plugin/notes/plugin.js | 22 +++++++++++++++------- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/js/controllers/notes.js b/js/controllers/notes.js index 8ec1d42e..6df90698 100644 --- a/js/controllers/notes.js +++ b/js/controllers/notes.js @@ -1,5 +1,5 @@ /** - * Handles the showing and + * Handles the showing of speaker notes */ export default class Notes { @@ -89,7 +89,7 @@ export default class Notes { * Retrieves the speaker notes from a slide. Notes can be * defined in two ways: * 1. As a data-notes attribute on the slide
- * 2. As an