[ve] Set correct props for new paragraph if there is only string in text tag

This commit is contained in:
Fedor Kobyakov
2025-08-13 18:02:48 +03:00
parent 1e0cc7b89f
commit 8b9be867f9

View File

@ -1977,6 +1977,7 @@
// otherwise search for pp tag witch can set paragraph properties for future text
if (i === 0) {
if (typeof textElementPart === "string" || textElementPart.kind === AscVisio.c_oVsdxTextKind.FLD) {
currentParagraphPropsRow = 0;
parseParagraphAndAddToShapeContent(0,
paragraphPropsCommon, textCShape);
currentParagraph = oContent.Content.slice(-1)[0]; // last paragraph