I have textarea with html id "id_textarea".
editor = CKEDITOR.inline( 'id_textarea', { filebrowserBrowseUrl : 'browse_url', filebrowserUploadUrl : 'upload_url' }); editor.on( 'fileUploadRequest', function( evt ) { console.log("This is not printing"); });
Whenever I try to download a file, it doesn't print anything for the console. Am I doing something wrong?
By the way, my requirement is to add csrf headers before sending a request for which I need to catch some kind of event like fileUploadRequest.
source share