Opened 10 years ago
Last modified 10 years ago
#13464 confirmed New Feature
Expose simple way to trigger lineutils-based DnD — at Version 1
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description (last modified by )
(Note: lineutils-based DnD is the mechanism used while dragging block widgets)
Use cases:
- When user starts dragging an inline image (or image2) I would like to be able to enable line-utils-based DnD. I imagine that I can listen on editor#dragstart, check what's dragged, and use some editor method, to do what I want. Of course this rises questions like - what with empty blocks left after dragging an image from them - this would be handled by the developer which implements such feature or by CKEditor. We could e.g. make it possible to alter dragRange (it may even be possible now) so a developer would be able to select whole paragraph.
- Dragging some stuff from outside of the editor. E.g. there could be a list of products and dragging it into editor should be done with line utils.
- Dragging table rows with line utils?
Change History (1)
comment:1 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Status: | new → confirmed |