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

[BUG] Disable the drag and drop functionality in html editor. #557

Open
keerthi-prasthana opened this issue Dec 11, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@keerthi-prasthana
Copy link

keerthi-prasthana commented Dec 11, 2024

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:
2024-12-10_16h41_26
2024-12-10_16h41_04
2024-12-10_16h41_43
Video Reference:

2024-12-11_12h06_36.mp4

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?

@keerthi-prasthana keerthi-prasthana added the bug Something isn't working label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants