Method-Draw icon indicating copy to clipboard operation
Method-Draw copied to clipboard

load query parameter doesn't work

Open tobei opened this issue 3 years ago • 1 comments

When using the load query parameter the passed URL is never queried, even though "loading image" toast does sometimes flash. I didn't find any outgoing request in the network inspector and I no image or error appears. Tried with images hosted on several different domains allowing cross-origin, and didn't see any cross-origin error.

tobei avatar May 14 '22 09:05 tobei

It seems the $.ajax(url, opts) used to load URL passed to the query "load" parameters omits the 'crossDomain: true' option that would allow the editor to download images from CORS enabled image servers.

tobei avatar May 24 '22 16:05 tobei