Opened 4 years ago

Closed 4 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:

Description

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 http://ckeditor.com/demo with Chrome 44, IE 11, Firefox 39

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by Gabor Garancsi

Demo GIF

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

Status: newpending

Can you try it on http://nightly.ckeditor.com/15-08-13-06-08/standard/samples/? We worked on a similar issue recently.

comment:2 Changed 4 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 4 years ago by Piotrek Koszuliński

Resolution: fixed
Status: pendingclosed
Version: 4.5.24.5.0

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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy