Insert content from extension into document
To insert the content from extension into the current writer document.
Syntax
WriterClient.dispatch("insertContent", data).then(function(response){console.log("response::"+response);
Data parameters
| Parameter | Data Type | Description |
| content | String | Content to be inserted into the document |
| contentType | HTML/Text | Content format |
| htmlFormat | SourceFormat | DestinationFormat | |
| scrollIntoView | boolean (true/false) |