How to create Table of contents in O365 add-in
How we can create Table of contents [TOC] in O365/Word API JavaScript/Office JS first we need to get paragraphs from
How we can create Table of contents [TOC] in O365/Word API JavaScript/Office JS first we need to get paragraphs from
The practical (but not 100% safe) solution is to wrap your protected paragraph or paragraphs in a locked Rich Text
Set the default state in the constructor(). And without constructor using Babel with proposal-class-fields. See: Setting the default state
As of React v16.2.0, fragments can be used to return multiple children without adding extra wrapping nodes to the DOM.
Use states (this.state) to manage dynamic data. With Babel you can use proposal-class-fields and get rid of constructor See: States