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

I can DND an image onto an image block on the preview #108

Open
Tracked by #5
djay opened this issue Jul 17, 2024 · 1 comment
Open
Tracked by #5

I can DND an image onto an image block on the preview #108

djay opened this issue Jul 17, 2024 · 1 comment

Comments

@djay
Copy link
Member

djay commented Jul 17, 2024

actually this one is going to be tricky since the adminUI is the one that needs to do the uploading, not the frontend.
I can't see it working where hydra.js streams the file across the iframe bridge... but who knows.

So realisticly maybe there might have to be some trick to add a invisible drop zone over top of the iframe in the right place? or don't support DND at all? I think even click to select a file to upload is something that can't be initiated from the browser and has to start with a user action so can't be done by the adminUI if the click happened in the frontend....

@djay
Copy link
Member Author

djay commented Dec 3, 2024

I think this could be solved by the #36 where the drop zone is implemented by the starter UI

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