Closed sashsvamir closed 7 years ago
checking...
@sashsvamir I like the idea, but can you describe me an scenario to test this? I have found a bug and some issues on your javascript but I would be more than happy to modify it if I can see the issues it solves as its not very clear to me by the comments above.
Can you describe a step-by-step scenario? Thank you in advance!
Before, csrf token added to post request only when "filebrowserUploadUrl" or "filebrowserImageUploadUrl" has been set in clientOptions. But if you use dropped or pasted upload, csrf token not apply to post request. I think "click" event can be replaced by native "fileUploadRequest" event. After this csrf will be added to any upload actions of CKEditor.
Also, i fixed miss alias path to dosamigos-ckeditor.widget.js