Opened 7 years ago

#17006 new Bug

Key event listener produce different key codes in Chrome and Firefox

Reported by: Bjoern Owned by:
Priority: Normal Milestone:
Component: Core : Keystrokes Version: 4.6.2
Keywords: key listener firefox keyCode Cc:


Steps to reproduce

  1. Visit in firefox and chrome
  2. Enter the following into console:
    CKEDITOR.instances.ckdemo.on('key', function(event){
      console.log("key-event-data: ",;
  3. Focus into CKEditor and press CTRL
  4. Console output:
    in Firefox - keyCode: 17
    in Chrome - keyCode: 1114129

Expected result

In Firefox the keyCode result should be 1114129 (like CKEDITOR.CTRL)

Actual result

In Firefox the keyCode result is 17

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


Actual demo version on homepage (4.6.2)


Firefox: 53.0 (64bit)
Chrome: 58.0.3029.96 (64-bit)


Ubuntu 16.10

Change History (0)

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