To Upload images, you must specify an endpoint to which the image has to be uploaded. The POST request sent is a FORMDATA with name file
.
The Input for the endpoint is a string can be provided directly or via config
property
<app-ngx-editor imageEndPoint="http://myApiEndPoint"></app-ngx-editor>
The Response is a json
and it should be in the following format
{
"url": "https://location-of-image"
}