- Breaking : The image module no longer swallows error thrown by
options.getImage
andoptions.getSize
. It is the implementors responsibility to not throw any errors, or the error will be passed. You can return a falsy value in getImage to not render an image at all.
- Fix issue with PPTX : Before, you had to add to your options : {fileType: "pptx"} in the module options passed as argument in the constructor of the module. Now, the fileType is retrieved from the main docxtemplater.
- Add support for PPTX.
- Add centering of images with {%%image} syntax
- This version is compatible with docxtemplater 3.0.