#10838 closed Bug (duplicate)
Widgets: enhance DnD of block widgets
Reported by: | Frederico Caldeira Knabben | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Widgets | Version: | 4.3 Beta |
Keywords: | Cc: |
Description
When dragging block widgets, the user can drop them at any place in the content. If this happens in the middle of a paragraph, that paragraph gets split and the parts cannot be joining without deleting or moving the widget away.
The widgets system should allow dropping block widgets only in places that will not break other blocks, like at the beginnin/end of document/block-holder or in-between blocks.
Change History (5)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:3 Changed 11 years ago by
This dragging problem isn't only widgets issue. When you drag image wrapped in "block/flow" element there are problems - #8884.
I understand that this ticket is about making widget more friendly by allowing to drop widget only in certain areas so please treat #8884 and extra information or problem you might fell into (although currently widget doesn’t leave any orphan elements).
comment:4 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | confirmed → closed |
Duplicated #10933
comment:5 Changed 11 years ago by
Milestone: | CKEditor 4.3 |
---|
One idea is transforming part of the magicline plugin into a generic API plugin that can be reused by both magicline and widgets. In this way, we could show the dotted lines that magicline is used to show when dragging block widgets, indicating valid places for it to be dropped.