Commit b55bde0d authored by Sergey Luzyanin's avatar Sergey Luzyanin Committed by GitHub

Merge pull request #41 from ONLYOFFICE/release/v4.1.0

fix Bug 32993
parents 3584698b e0202078
......@@ -580,6 +580,9 @@ CPresentation.prototype =
},
Add_CompositeText: function(nCharCode)
{
if (null === this.CompositeInput)
return;
this.Create_NewHistoryPoint(AscDFH.historydescription_Document_CompositeInputReplace);
this.addCompositeText(nCharCode);
this.Recalculate();
this.Document_UpdateSelectionState();
......@@ -606,6 +609,7 @@ CPresentation.prototype =
{
if (null === this.CompositeInput)
return;
this.Create_NewHistoryPoint(AscDFH.historydescription_Document_CompositeInputReplace);
this.removeCompositeText(this.CompositeInput.Length);
for (var nIndex = 0, nCount = arrCharCodes.length; nIndex < nCount; ++nIndex)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment