Open StevePires opened 8 months ago
UPDATE :
Not related to being in a table cell apparently, passing a pptxgen.TextProps[] to addText() with mixed 'normal' text and sub/sup makes subScript and superScript options ineffective:
Here is a snapshot of the logged object (in console) passed to addText()
And the result in the generated PPTX (second line, the first one comes from another object):
Issue Category
Product Versions
Desired Behavior
Inside a table cell, inserting a text composed of multiple texts, each one should stay on the same line, for instance. For example: composing with this: "42cm" +" ³ " + " is a small cube" should be rendered on only one line: 42cm³ is a small cube
Observed Behavior
The result in the table cells are rendered on 3 lines like this:
Other example:
(note: the '2' it is rendered in 'sub' correctly, I just don't know how to render it here)
Steps to Reproduce