Category
Version
Please specify what version of the library you are using: 3.5.0
Please specify what version(s) of PowerPoint you are targeting: Powerpoint Online, Google Slides (they show identical behavior)
Expected / Desired Behavior
addNotes should result in text notes in the Notes field of the Powerpoint file.
Observed Behavior
addNotes function with any string results in [object Object] in the note field in any reader I've tried it in.
Steps to Reproduce
- use addNotes function to add any string to a pptxgen presentation.
- trigger save presentation
- open in either Powerpoint Online or Google Slides (possibly in Powerpoint itself?)
- note [object Object] in the field
Here is a slightly modified version of the demo fiddle which replicates this behavior: https://jsfiddle.net/zj5m21ba/0/
Here is another version of the demo fiddle that bypasses addNotes but successfully generates notes: https://jsfiddle.net/zj5m21ba/1/