Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load query parameter doesn't work #142

Open
tobei opened this issue May 14, 2022 · 1 comment
Open

load query parameter doesn't work #142

tobei opened this issue May 14, 2022 · 1 comment

Comments

@tobei
Copy link

tobei commented May 14, 2022

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
Copy link
Author

tobei commented May 24, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant