Changes between Initial Version and Version 1 of Ticket #13464, comment 5
- Timestamp:
- Jun 25, 2015, 8:27:58 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13464, comment 5
initial v1 3 3 > I imagine that I can listen on `editor#dragstart`... 4 4 5 I'm not sure about that. At the moment we listen on mouse event and emulate `dragstart` event from the line-utils-based drag and drop (custom D&D for block widgets), so the line utils is the alternative way and we do not use at all browsers D&D if we use lineutils . If we mix this two solutions we may have some problems. I prefer lineutils as an alternative way of drag and drop so all D&D events (`dragstart`, `drop`, `dragend`) will be fired by this alternative mechanism.5 I'm not sure about that. At the moment we listen on mouse event and emulate `dragstart` event from the line-utils-based drag and drop (custom D&D for block widgets), so the line utils is the alternative way and we do not use at all browsers D&D if we use lineutils and it is lineutils based mechanism who fire all D&D events on editor. If we mix this two solutions we may have some problems. I prefer lineutils as an alternative way of drag and drop so all D&D events (`dragstart`, `drop`, `dragend`) will be fired by this alternative mechanism. 6 6 7 7 But on the other hand, maybe we will be able to prevent native D&D in the `editor#dragstart` event. It is something we should check. And solution with setting lineutils on `editor#dragstart` would be very nice.