Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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 Frederico Caldeira Knabben

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.

comment:2 Changed 11 years ago by Piotrek Koszuliński

Status: newconfirmed

comment:3 Changed 11 years ago by Jakub Ś

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 Piotr Jasiun

Resolution: duplicate
Status: confirmedclosed

Duplicated #10933

comment:5 Changed 11 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.3
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy