mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
Fix bug #71581
Fix the problem with different text shaping in collaboration
This commit is contained in:
@ -731,7 +731,7 @@
|
||||
oLastUsedPara.Set_Align(AscPDF.getInternalAlignByPdfType(oRCInfo["alignment"]));
|
||||
}
|
||||
else {
|
||||
oRun.Add(AscPDF.codePointToRunElement(nCharCode));
|
||||
oRun.AddToContentToEnd(AscPDF.codePointToRunElement(nCharCode));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user