Opened 9 years ago

Last modified 8 years ago

#14675 confirmed Bug

On change event is not fired on first content remove after D'n'D

Reported by: kkrzton Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: sergey.s.sazonov@…

Description

Steps to reproduce

  1. Go to http://ckeditor.com/demo#full.
  2. Open dev tools and paste CKEDITOR.instances.editor1.on( 'change', function() { console.log( 'change', arguments ) } ) in the console.
  3. Select part of the text.
  4. Drag the text and drop it inside editor.
  5. Select some text and press delete button to remove it.

Same happens when dropping text from outside of the editor.

Expected result

The change event is fired after content/text is removed.

Actual result

After D'n'D the first remove operation does not trigger change event.

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

CKEditor 4.5.9, tested on Chrome 51 and FF 46.

Change History (4)

comment:1 Changed 9 years ago by kkrzton

Status: newconfirmed

comment:2 Changed 9 years ago by kkrzton

Similar thing happens also on copy/paste as reported here:

After pasting from clipboard something goes wrong and next two input chars do not cause emitting of 'change' event. It can be reproduced on your official demo page. From the third symbol all works properly.

comment:3 Changed 9 years ago by Sergey Sazonov

Cc: sergey.s.sazonov@… added

comment:4 Changed 8 years ago by Sergey Sazonov

Hi! Could you please fix that?

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