image.background.change

Arguments
response ObjectThe response object with data of the uploaded image

Occurs whenever a background image of component in the editor is replaced with a new one.

image.background.remove

Occurs whenever a background image is removed.

image.change

Arguments
response ObjectThe response object with data of the uploaded image

Occurs whenever an image in the editor is replaced with a new one.

image.remove

Arguments
image Element

Occurs whenever an image in the editor is removed.

image.upload.error

Arguments
response ObjectJSON object with error data

Occurs when the image upload fails.

Here is the example of JSON error response:

{
    "error": true,
    "message": "Something went wrong..."
}