Free Support Forum - groupdocs.com

Editing a Word document, Only 'phrasing' content is permitted for the heading (H2) element issue in .NET

Get error - "Only ‘phrasing’ content is permitted for the heading (H2) element, while specified element DIV has content category ‘Flow’ Parameter name: newElement.

code:
EditableDocument readyToEdit = editor.Edit(new WordProcessingEditOptions());

image.png (3.6 KB)
Epoetin_Aranesp_Procrit_Med_Policy_eff_2011-08-16.zip (19.4 KB)

@CLQcflowers

We are sorry for your inconvenience. We have noticed the reported exception and logged a ticket EDITORNET-1581 for further investigation and rectification. We will notify you as soon as the issue is resolved.

@CLQcflowers,

This issue will be fixed in API version 20.4. As the release gets on-board, you’ll be notified.

@CLQcflowers,

Your reported issue EDITORNET-1581 is now fixed in API version 20.4.