Skip to content

Commit

Permalink
Fix bug #59113
Browse files Browse the repository at this point in the history
Allow to add text with AddText method in the filling form mode
  • Loading branch information
KirillovIlya committed Feb 7, 2024
1 parent 6393d9f commit 821baeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion word/Editor/Document.js
Original file line number Diff line number Diff line change
Expand Up @@ -25086,7 +25086,7 @@ CDocument.prototype.AddTextWithPr = function(sText, oSettings)
if (!oSettings)
oSettings = new AscCommon.CAddTextSettings();

if (!this.IsSelectionLocked(AscCommon.changestype_Paragraph_AddText))
if (!this.IsSelectionLocked(AscCommon.changestype_Paragraph_AddText, null, false, this.IsFormFieldEditing()))
{
this.StartAction(AscDFH.historydescription_Document_AddTextWithProperties);

Expand Down

0 comments on commit 821baeb

Please sign in to comment.