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.
- Open any sample with CKEditor (i.e. samples/replacebyclass.html)
- Add a change
event
listener, eg:CKEDITOR.instances.editor1.on( 'change', function( evt ) { console.log( 'change', evt ); } );
- Focus the editor, press
f
so f letter is inserted. Note that at this point we have onechange
event, which is correct. - 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:
- Only one extra
change
event will be fired that way. - Checked in FF, Chrome, IE8
dup of #12300