diff --git a/CHANGELOG.md b/CHANGELOG.md index ebf4bf492..58bf035c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - New Chart Option: `valAxisCrossesAt` [\#474](https://github.com/gitbrent/PptxGenJS/pull/474) ([ReimaFrgos](https://github.com/ReimaFrgos)) - Docs: Show how to save as Blob using client browser [\#478](https://github.com/gitbrent/PptxGenJS/issue/478) ([crazyx13th](https://github.com/crazyx13th)) ### Changed +- Fixed: Dynamic Text Options do not apply [\#427](https://github.com/gitbrent/PptxGenJS/issue/427) ([sunnyar](https://github.com/sunnyar)) - Removed: legacy/deprecated attributes from README javascript script tags [\#431](https://github.com/gitbrent/PptxGenJS/pull/431) ([efx](https://github.com/efx)) - Fixed: issue with SlideNumber `fontSize` float values [\#432](https://github.com/gitbrent/PptxGenJS/issue/432) ([efx](https://github.com/efx)) - Fixed: query and fragment from image URL extension [\#433](https://github.com/gitbrent/PptxGenJS/pull/433) ([katsuya-horiuchi](https://github.com/katsuya-horiuchi)) diff --git a/dist/pptxgen.js b/dist/pptxgen.js index fffa44638..94536e435 100644 --- a/dist/pptxgen.js +++ b/dist/pptxgen.js @@ -5578,9 +5578,9 @@ var PptxGenJS = function(){ // D: Add any additional objects if ( opts.addImage ) newSlide.addImage({ path:opts.addImage.url, x:opts.addImage.x, y:opts.addImage.y, w:opts.addImage.w, h:opts.addImage.h }); - if ( opts.addShape ) newSlide.addShape( opts.addShape.shape, (opts.addShape.opts || {}) ); - if ( opts.addTable ) newSlide.addTable( opts.addTable.rows, (opts.addTable.opts || {}) ); - if ( opts.addText ) newSlide.addText( opts.addText.text, (opts.addText.opts || {}) ); + if ( opts.addShape ) newSlide.addShape( opts.addShape.shape, (opts.addShape.opts || opts.addShape.options || {}) ); + if ( opts.addTable ) newSlide.addTable( opts.addTable.rows, (opts.addTable.opts || opts.addTable.options || {}) ); + if ( opts.addText ) newSlide.addText( opts.addText.text, (opts.addText.opts || opts.addText.options || {}) ); }); } };