Opened 8 years ago

Last modified 8 years ago

#13437 confirmed Bug

[D&D] Image2 broken in half when drag and dropped.

Reported by: Szymon Cofalik Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.0
Keywords: Blink Webkit Cc:


Steps to reproduce:

  1. Setup your editor:
    <div id="classic">
    	<p>foo bar</p>
    	<figure class="image right"><img alt="CKEditor logo" src="/tests/_assets/logo.png" />
    	CKEDITOR.replace( 'classic', {
    		height: 400
    	} );

Height added for easier reproduction.

  1. Make selection with mouse from [bar to CK] (in caption).
  2. D&D the selection somewhere (i.e. before foo bar). Note that you have to start dragging on selected text, not the widget.

Result: Widget got broken in half.

I think we should discuss expected result for this kind of selection. I can imagine some users trying to select some text and widget image *whole* but will fail to do so, because they will just select it to the end of caption. In this case you end up with the properly copied version of widget but you also have empty, gray rectangle in the place of the original widget.

Change History (1)

comment:1 Changed 8 years ago by Jakub Ś

Keywords: Blink Webkit added
Status: newconfirmed

Problem can be reproduced in Blink and Webkit Browsers from CKEditor 4.5.0. It can also be reproduced in latest CKEditor 4.5.7.

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