Changes between Initial Version and Version 1 of Ticket #13464, comment 5


Ignore:
Timestamp:
Jun 25, 2015, 8:27:58 AM (9 years ago)
Author:
Piotr Jasiun
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13464, comment 5

    initial v1  
    33> I imagine that I can listen on `editor#dragstart`...
    44
    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.
     5I'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.
    66
    77But 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.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy