You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was actually an underlying issue here with text run formatting within paragraphs that needed fixing.
Lastly, I've updated the README and examples/pptxgenjs-demo.html page with an code showing how to format down to the word/line level, so you could align/format each of your 3 lines above differently.
Formatting rules are ignored after the symbol '\n', e.g:
slide4.addText('first paragraph\nsecond paragraph\nthird paragraph', { x: 0.0, y: '50%', valign: 'middle', align: 'center', color: '000000', font_face: 'Times New Roman', font_size: 16, isTextBox:true});
It looks like:
The text was updated successfully, but these errors were encountered: