html-editor-enhanced
html-editor-enhanced copied to clipboard
[BUG] Disable the drag and drop functionality in html editor.
In my HTML editor in Flutter, after adding the images to the editor it shows images perfectly and when I click on the image it gives the resizing, floating options and removing image options. But here the problem is that when I long press on the image, drag and drop functionality is enabled in the editor. So if I drag and drop the image, sometimes a duplicate image is added to the editor and sometimes after dragging and dropping the image the source text of the image is added as text to the parent div where the image is present. It is getting difficult for me to see this unusual behaviour in the editor and makes me irritated while editing the content.
Reference images:
Video Reference:
https://github.com/user-attachments/assets/9f4f2c35-368b-4940-a60c-ed43183d9250
RESULT: So finally, I want to completely disable the drag and drop feature from the editor itself.
I don't have an option in HTML editor to disable the drag-and-drop functionality. Can you please guide me through this and get me a solution ASAP?