Opened 10 years ago

Closed 10 years ago

#12310 closed Bug (duplicate)

Change event is fired once on arrow consequent to printable letter

Reported by: Marek Lewandowski Owned by:
Priority: Normal Milestone:
Component: Core : Undo & Redo Version: 4.4.4
Keywords: Cc:

Description

An extra change event will be fired when an arrow press is following a printable char.

  1. Open any sample with CKEditor (i.e. samples/replacebyclass.html)
  2. Add a change event listener, eg:
    CKEDITOR.instances.editor1.on( 'change', function( evt ) {
    	console.log( 'change', evt );
    } );
    
  3. Focus the editor, press f so f letter is inserted. Note that at this point we have one change event, which is correct.
  4. Press right arrow.

Expected result:
change event is being fired.

Current result:
No change event should be fired.

This is an regression, was not seen in 4.4.3.

additional info:

  1. Only one extra change event will be fired that way.
  2. Checked in FF, Chrome, IE8

Change History (1)

comment:1 Changed 10 years ago by Marek Lewandowski

Resolution: duplicate
Status: newclosed

dup of #12300

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