Commit 5d2b8921 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33525

parent 79fb282c
...@@ -2359,8 +2359,22 @@ CPresentation.prototype = ...@@ -2359,8 +2359,22 @@ CPresentation.prototype =
else else
{ {
if(AscCommon.CollaborativeEditing.Is_Fast() || editor.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Drawing_Props) === false) { if(AscCommon.CollaborativeEditing.Is_Fast() || editor.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Drawing_Props) === false) {
History.Create_NewPoint(AscDFH.historydescription_Presentation_ParagraphAdd);
this.Paragraph_Add(new ParaTab()); if(target_content.Selection.StartPos === target_content.Selection.EndPos &&
target_content.Content[target_content.CurPos.ContentPos].IsEmpty() &&
target_content.Content[target_content.CurPos.ContentPos].CompiledPr.Pr &&
target_content.Content[target_content.CurPos.ContentPos].CompiledPr.Pr.ParaPr.Bullet &&
target_content.Content[target_content.CurPos.ContentPos].CompiledPr.Pr.ParaPr.Bullet.isBullet() &&
target_content.Content[target_content.CurPos.ContentPos].CompiledPr.Pr.ParaPr.Bullet.bulletType.type !== AscFormat.BULLET_TYPE_BULLET_NONE &&
this.Can_IncreaseParagraphLevel(!e.ShiftKey)){
this.Paragraph_IncDecIndent(!e.ShiftKey);
}
else{
History.Create_NewPoint(AscDFH.historydescription_Presentation_ParagraphAdd);
this.Paragraph_Add(new ParaTab());
}
} }
} }
} }
......
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