Closed andreipaun closed 3 months ago
Thanks for reporting this issue. It has been put on our backlog<Bug#6255786> for internal track. We unfortunately have no timelines to share at this point.
hi @andreipaun I tried on latest build 16.0.15731 and this issue doesn't reproduce anymore, now the getOoxml() API is successfully returning the ooxml content of the second content control. please update your office to latest M365 version and have a try. thanks.
Discovered a usecase for which a call to contentControl.getRange("content").getOoxml() ends up in a RichApiError. Below you will find attached a simple document created to exhibit the problem as well as a Scriptlab gist.
Expected Behavior
A call to getOoxml() should not fail.
Current Behavior
The call to getOoxml() should not fail.
Steps to Reproduce, or Live Example
Context
We are working on an OfficeJs Word add-in and we rely heavily on being able to get and insert ooxml content to and from content controls. These types of bugs have a critical impact on our ability to deliver something solid to our customers.
Your Environment
Gist URL
duby.docx