OfficeDev / office-js-docs

[ARCHIVED] Microsoft Office Add-ins API Reference Documentation
https://docs.microsoft.com/javascript/api/overview/office
398 stars 247 forks source link

Access to DOM in order to render React component #1502

Closed marek-baranowski closed 5 years ago

marek-baranowski commented 5 years ago

Is it possible to render React component inside Office 365 Word document?

More specifically, I'm trying to get the DOM object in order to select an element, which would be later used as an insertion point of ReactDOM.render(<Component />, element);.

kbrandl commented 5 years ago

@marek-baranowski thanks for your interest in Office Add-ins development. Issues in this GitHub repository (OfficeDev/office-js-docs) are intended for reporting errors/problems with the API documentation. Therefore I'm closing this GitHub issue, but please feel free to post your question to Stack Overflow with the office-js tag. By posting how-to questions such as this one to Stack Overflow, you're not only more likely to get a response, but that response may also benefit other developers who might be facing the same challenges.