froala / angular-froala

Angular.js bindings for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
MIT License
306 stars 123 forks source link

set withCredentials to false #126

Closed mzarallo closed 7 years ago

mzarallo commented 7 years ago

Hi, everyone. I'm getting this error :

captura de pantalla 2016-10-04 a las 10 58 34 p m

I'm trying to find a way to set the option credentials to false but I failed to find anything in the documentation. Try going to do so in the settings but it has not worked:

.value('froalaConfig', { withCredentials: false, toolbarInline: false, language: 'es', imageUploadURL: 'http://evaluaciones.app/api/v1/file/image/upload', fileUploadURL: 'http://evaluaciones.app/api/v1/file/pdf/upload' });

Thanks greetings.

stefanneculai commented 7 years ago

Starting with V2.3.5, there is going to be an option called: requestWithCredentials to disable it. In the meanwhile you can use the requestWithCORS to disable this.