Opened 8 years ago

Closed 8 years ago

#13654 closed Bug (fixed)

Dragging and dropping all content removes everything, exception is thrown

Reported by: Gabor Garancsi Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.0
Keywords: Cc:


Steps to reproduce

  1. Add some content (image or text)
  2. Select all
  3. Drag and drop it to somewhere below or near the content

Expected result

Nothing should happen actually (e.g. in 4.4.7 the cursor is disabled also)

Actual result

The content disappears, exception is thrown:

CKEDITOR.dom.range.setStartBefore	@	ckeditor.js:146
CKEDITOR.dom.range.moveToBookmark	@	ckeditor.js:128
CKEDITOR.plugins.clipboard.internalDrop	@	ckeditor.js:614
(anonymous function)	@	ckeditor.js:604

Other details (browser, OS, CKEditor version, installed plugins)

Tested on with Chrome 44, IE 11, Firefox 39

Attachments (1)

ckeditor-dnd-nullpointer.gif (112.9 KB) - added by Gabor Garancsi 8 years ago.
Demo GIF

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Gabor Garancsi

Demo GIF

comment:1 Changed 8 years ago by Piotrek Koszuliński

Status: newpending

Can you try it on We worked on a similar issue recently.

comment:2 Changed 8 years ago by Gabor Garancsi

I checked and seems to work on the nightly. Thank you. What version will include this fix?

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

Resolution: fixed
Status: pendingclosed

Thanks for checking. CKEditor 4.5.3 will include this fix. It will be released next week (Tue/Wed most likely).

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