mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +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"]));
|
oLastUsedPara.Set_Align(AscPDF.getInternalAlignByPdfType(oRCInfo["alignment"]));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
oRun.Add(AscPDF.codePointToRunElement(nCharCode));
|
oRun.AddToContentToEnd(AscPDF.codePointToRunElement(nCharCode));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6310,7 +6310,6 @@ var CPresentation = CPresentation || function(){};
|
|||||||
this.runInput = null;
|
this.runInput = null;
|
||||||
|
|
||||||
if (this.canSquashChanges()) {
|
if (this.canSquashChanges()) {
|
||||||
console.log("squash")
|
|
||||||
this.undoAll();
|
this.undoAll();
|
||||||
|
|
||||||
this.textController.GetDocContent().SetSelectionState(this.contentState);
|
this.textController.GetDocContent().SetSelectionState(this.contentState);
|
||||||
@ -6319,9 +6318,6 @@ var CPresentation = CPresentation || function(){};
|
|||||||
this.textController.EnterText(codePoints);
|
this.textController.EnterText(codePoints);
|
||||||
}, AscDFH.historydescription_Document_AddLetter, this);
|
}, AscDFH.historydescription_Document_AddLetter, this);
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
console.log("NO squash");
|
|
||||||
}
|
|
||||||
|
|
||||||
this.inUse = false;
|
this.inUse = false;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user