Wysiwyg-editor: imageUpload set to false still uploads image to i.froala.com

Created on 18 Oct 2017  路  6Comments  路  Source: froala/wysiwyg-editor

Expected behavior.

Using the imageUpload option set to false, uploading an image by URL will add the image to the editor and use the provided image URL as the source.

Actual behavior.

The image is added to the editor, but it is still uploaded to https://i.froala.com and doesn't use the URL you provided as the source.

Steps to reproduce the problem.

https://codepen.io/anon/pen/NaeZoQ

  1. Click the image button
  2. Enter https://i.imgur.com/g3D5jNz.jpg into the field
  3. Click Insert
  4. Right click the inserted image and hit Inspect
  5. The image's src attribute is a https://i.froala.com URL, not the original https://i.imgur.com URL.
OS.

Windows 10 64bit

Browser.

Chrome 61.0.3163.100

All 6 comments

@bcanseco please make sure you're using editor version 2.7.0.

@stefanneculai It works in 2.7.0, just wanted to give you a heads up that it's not working with the js from the top of the master branch.

We'll check.

@bcanseco just tested the master branch and all is good. I believe you did something wrong.

@stefanneculai I just tried 2.7.4 with imageUpload false and it is still posting to i.froala and attempting to upload.

image

image

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

isubasti picture isubasti  路  4Comments

jmsche picture jmsche  路  3Comments

bnjmnfnk picture bnjmnfnk  路  4Comments

archonic picture archonic  路  4Comments

adilsonb picture adilsonb  路  3Comments