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

Drag and Drop does not work #1190

Open
ilezus-dev opened this issue Oct 24, 2024 · 0 comments
Open

Drag and Drop does not work #1190

ilezus-dev opened this issue Oct 24, 2024 · 0 comments

Comments

@ilezus-dev
Copy link

Jodit Version: 3.24.9

Browser: Chrome
OS: Mac
Is React App: True
Reproduced on xdsoft.net: True

I want to implement Drag and Drop for files (jpg, png, txt).
If insertImageAsBase64URI is set to true, only images (jpg, png) work, but not files (txt).

When I try to drag and drop files, Jodit tries to send a request to the server.
But I don't want to make a server request; I want to get the files from Drag and Drop, use a blob URL for these files, and add them as links.

I didn't find an explanation in the documentation.
Could you please suggest how I can implement drag and drop for files? Or do I need to write a custom plugin?

@ilezus-dev ilezus-dev changed the title Drag and Drop not work Drag and Drop does not work Oct 29, 2024
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