Search code examples
.netms-wordopenxml

Add a table to a content control


This tutorial suggests nesting tables in content controls but every time I'm trying to do this I get an error saying 'Word cannot turn off design mode because placeholder text in a content control contains invalid items'. I've tried both Rich Text and Plain Text content controls. Office version is 2012.

How do I add a table to a content control?


Solution

  • It works if design mode is turned off. However I'm still not satisfied, because Word automatically adds an empty paragraph after every table.