Block widget DnD should behave similar to other DnD
- Block widgets DnD should fire
paste
events.
- Block widgets DnD should fire
editor.dragstart
, editor.dragend
and editor.drop
events.
- Paste event should have additional parameter
range
so it should be possible to paste between blocks, where we can not set selection.
- Some widget DnD clean-up is needed to remove leftovers.
This ticket should fix: #11219 and #12090.
Change History (4)
Owner: |
set to Piotr Jasiun
|
Status: |
new →
assigned
|
Milestone: |
CKEditor 4.5.0 →
CKEditor 4.5.0 Beta
|
Status: |
assigned →
review
|
Resolution: |
→ fixed
|
Status: |
review →
closed
|
Changes are done and pushed to the t/13042 branch. The most important changes are listed below.
dataTransfer
is now always bind for all events since last reset, if there is no native event.editor.drag|dropstart|dropend
events listeners. This means that it is enough to fire these events with proper parameters (target and ranges) to execute drag and drop.editor.drag|dropstart|dropend
events.range
parameter.extractHtmlFromRange
instead ofouterHtml
.This ticket needed 2 other to be closed: #13069, #13101.
After these changes 2 bugs were introduced, they will be reported as separate tickets:
These changes should fix: #11219, #12090, #12095.