tinymce.util.ImageUploader

This class handles uploading images to a back-end server.

Summary

Methods

Name Summary Defined by

upload()

Uploads images to the configured image upload URL (images_upload_url) or passes the images to the defined image upload handler function (images_upload_handler).

ImageUploader

Methods

upload()

upload(blobInfos: Array, showNotification: Boolean)

Uploads images to the configured image upload URL (images_upload_url) or passes the images to the defined image upload handler function (images_upload_handler).

Parameters

  • blobInfos (Array) - A BlobInfo array containing the image data to upload. A BlobInfo can be created by calling editor.editorUpload.blobCache.create().

  • showNotification (Boolean) - (Optional) When set to true, a notification with a progress bar will be shown during image uploads.