mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[ve] Set correct props for new paragraph if there is only string in text tag
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user