Fix the problem with different text shaping in collaboration
This commit is contained in:
Ilya Kirillov
2024-11-11 01:47:33 +03:00
parent a18388ca96
commit 9b20615555
2 changed files with 1 additions and 5 deletions

View File

@ -731,7 +731,7 @@
oLastUsedPara.Set_Align(AscPDF.getInternalAlignByPdfType(oRCInfo["alignment"]));
}
else {
oRun.Add(AscPDF.codePointToRunElement(nCharCode));
oRun.AddToContentToEnd(AscPDF.codePointToRunElement(nCharCode));
}
}
}

View File

@ -6310,7 +6310,6 @@ var CPresentation = CPresentation || function(){};
this.runInput = null;
if (this.canSquashChanges()) {
console.log("squash")
this.undoAll();
this.textController.GetDocContent().SetSelectionState(this.contentState);
@ -6319,9 +6318,6 @@ var CPresentation = CPresentation || function(){};
this.textController.EnterText(codePoints);
}, AscDFH.historydescription_Document_AddLetter, this);
}
else {
console.log("NO squash");
}
this.inUse = false;
};