javascript - Encountered a strange phenomenon, the button can be dragged into the edit box
phpcn_u1582
phpcn_u1582 2017-07-04 13:45:25
0
1
925

As shown in the picture, the "Save" button in the lower right corner of the picture can be clicked and dragged to the edit box

Visually the reason is the browser

In this case, if optimized, the button cannot be dragged over

Should we start with the default behavior of events?

phpcn_u1582
phpcn_u1582

reply all(1)
Ty80

Based on the performance, yours should be a rich text editor based on contenteditable. In this way, no matter what it is, you can drag it in... You can block the elements in the page by disabling draggable, but it is best to start from the rich text editor. The browser itself is better at handling this kind of dragged-in content.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template