Is there any way to validate the image file size in the images_upload_handler of Tinymce 5.
tinymce.init({
selector: '#mytextarea',
images_upload_handler: function(blobInfo, success, failure) {
.......
}
});
The function has 3 arguments, First one is the blob content of the selected image. There is no provision to check the size of the blob content.
Is there any way?