We have Kendo Editor in-place that needs to upload images to secured API resides in another domain. This means the request has to have some authorization token in the header so the call can be authorized correctly.
We understand that Editor's uploadURL property is limited to string only. So nothing much can be done to inject a custom header.
However, since Kendo UI core uses jQuery, we tried to implement $(document).ajaxSend to capture those AJAX requests coming from Kendo Editor and modify the header before sending the original request, but it seems it's not working and the code there never been hit.
Can you help with that? Is there a better way to achieve the same purpose?