Skip to content

Commit

Permalink
Do the real control removal (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
mli84 committed Jun 29, 2023
1 parent 59b9e83 commit 739347a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OpenXMLTemplates/Documents/TemplateDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ public void RemoveControlsAndKeepContent()
contentElementChildElement.Remove();
sdtElement.InsertBeforeSelf(contentElementChildElement);
}

sdtElement.Remove();
}

allContentControls.Clear();
Expand Down

0 comments on commit 739347a

Please sign in to comment.