Opened 11 years ago

Closed 10 years ago

#11657 closed Bug (fixed)

[Chrome] Editor with divarea plugin drag/drop image places image on last selection

Reported by: Koen Owned by:
Priority: Normal Milestone: CKEditor 4.5.0 Beta
Component: General Version: 4.0 Beta
Keywords: Blink Webkit Cc:

Description

Assuming that the editor has the divarea plugin enabled:

In chrome (and possibly other webkit based browsers)- when dragging an image from outside of the editor to inside the editor. The image gets placed- not on the location where you dropped it, but on the location where the caret was last found before the drag started.

To reproduce:

  • Instantiate an editor with the divarea plugin enabled.
  • Enter the text: "Hello" inside the editor (no formatting required).
  • Explicitly click at the end of the text to ensure that the caret is found directly after the 'o'.
  • Drag an external image inside the editor and drop it right before the 'H'.
  • Observe that the image is placed after the 'o'.

So far I've only seen this problem within Chrome. IE10/11 and FF seem to work fine.

Change History (3)

comment:1 Changed 11 years ago by Koen

Version: 4.3.3

comment:2 Changed 11 years ago by Jakub Ś

Keywords: Blink Webkit added
Status: newconfirmed
Version: 4.3.34.0 Beta

Problem can be reproduced from CKEditor 4.0 beta in inline and divarea editors in Blink and Webkit browsers. What is more this behaviour doesn’t occur in native editable elements.

We are implementing D&D so this issue should be one on test cases to check in #11437

comment:3 Changed 10 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.5.0
Resolution: fixed
Status: confirmedclosed

This issue is already fixed on the major branch.

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