Replace image from extension into document
Purpose
To replace the image from extension into the current writer document.
Syntax
WriterClient.dispatch("replaceImage", <image_data_variable>).then(function(response){console.log(response)});
Data Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
src | String | Specify the url of the new image that needs to be replaced into the document. |
id | Integer | Specify the id of the existing image inside the document that needs to be replaced. |