Skip to content

Commit

Permalink
Fix bug #63426
Browse files Browse the repository at this point in the history
Forbid to enter in a math equation in the form filling mode
  • Loading branch information
KirillovIlya committed Jul 10, 2024
1 parent ab13c40 commit 111764c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions word/Editor/Document.js
Original file line number Diff line number Diff line change
Expand Up @@ -22141,6 +22141,9 @@ CDocument.prototype.IsInFormField = function(isAllowComplexForm, isCheckCurrentU
var oInlineSdt = oSelectedInfo.GetInlineLevelSdt();
var oBlockSdt = oSelectedInfo.GetBlockLevelSdt();

if (oInlineSdt && oInlineSdt.IsContentControlEquation())
return false;

if (isCheckCurrentUser
&& oInlineSdt
&& (!oInlineSdt.IsComplexForm() || isAllowComplexForm))
Expand Down

0 comments on commit 111764c

Please sign in to comment.