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?
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?