From 8b9be867f9e69ae2062acc2494975e2e8e7019e3 Mon Sep 17 00:00:00 2001 From: Fedor Kobyakov Date: Wed, 13 Aug 2025 18:02:48 +0300 Subject: [PATCH] [ve] Set correct props for new paragraph if there is only string in text tag --- visio/model/ooxmlApi/convertFunctions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/visio/model/ooxmlApi/convertFunctions.js b/visio/model/ooxmlApi/convertFunctions.js index 4efa8c5208..576474df9d 100644 --- a/visio/model/ooxmlApi/convertFunctions.js +++ b/visio/model/ooxmlApi/convertFunctions.js @@ -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