kolkov / angular-editor

A simple native WYSIWYG editor component for Angular 6 -14+
https://angular-editor.kolkov.ru
MIT License
674 stars 361 forks source link

Chrome cancels my image upload #461

Open mpduffey opened 2 years ago

mpduffey commented 2 years ago

I have upgraded the great @kolkov/angular-editor to v2.0 and am using it in an Angular 14 app. I have an express API to receive the image upload, save it to an S3 bucket, and return the image location URL as {imageUrl: http//...}. This all almost worked with v1.2 and Angular 13.1, but the element would not append to the rich text, so I upgraded all around. Now, whenever I attempt to add an image to my file, Chrome cancels the http post request within 10ms, and the server never receives the request. I have searched exhaustively for another posting discussing and resolving this issue to no avail. Can you help identify the issue and a solution? Thank you! Screenshot 2022-06-07 142343

kolkov commented 2 years ago

Thanks for the issue. Try to create minimal repo to reproduce this.