Wysiwyg-editor: Editor keeps uploading files to i.froala.com/upload when fileUploadURL is provided

Created on 3 Apr 2017  路  2Comments  路  Source: froala/wysiwyg-editor

Expected behavior.

As described in the documentation, the editor should send images to the url specified in the configuration object.

Actual behavior.

Editor keeps uploading files to i.froala.com/upload

screen shot 2017-04-03 at 09 43 57

Steps to reproduce the problem.

I'm loading froala from the CDN (packaged, minified) :

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.5.1/js/froala_editor.pkgd.min.js"></script>

Here is my configuration object:

$(function() {
  $('textarea').froalaEditor({
    fileUploadURL: '/news/upload',
    heightMin:400,
    iframe:true,
  })
});

Am I doing something wrong ?

OS.

OSX 10.11.6

Browser.

Chrome 57.0.2987.133

Most helpful comment

Dude, you're the fastest human beeing on the planet when it comes to answering stupid questions =|.
Thanks !

All 2 comments

There are different options for fileUploadURL and imageUploadURL.

Dude, you're the fastest human beeing on the planet when it comes to answering stupid questions =|.
Thanks !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

archonic picture archonic  路  4Comments

horatiua picture horatiua  路  4Comments

studiotemple picture studiotemple  路  3Comments

kikeso77 picture kikeso77  路  3Comments

jmsche picture jmsche  路  3Comments