Opened 4 years ago

Last modified 4 years ago

#13435 confirmed Bug

[D&D] Image into nested editable throws error

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

Description (last modified by Szymon Cofalik)

Browser: Opera, maybe others.

Steps to reproduce:

  1. Create widget image with caption using image2 plugin.
  2. Create an inline image outside widget image.
  3. Try to D&D the inline image into the widget image.

Expected result: Inline image is no longer at previous position but is now in the caption.

Result: Error thrown
Cannot read property 'getAscendant' of null

Note: It works fine if you select some text beside inline image and try to D&D the text with the image. Note: I am able to cut the inline image and paste it into caption, so it is D&D bug.

Change History (2)

comment:1 Changed 4 years ago by Szymon Cofalik

Description: modified (diff)

comment:2 Changed 4 years ago by Jakub Ś

Status: newconfirmed

Problem can be reproduced in all browsers from CKEditor 4.5.0 (Occurs also in 4.5.7 and in current master)

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy