Opened 12 years ago

Last modified 12 years ago

#10033 confirmed Bug

Keydown listener doesn't catch enter key

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: Core : Keystrokes Version: 4.0 Beta
Keywords: Cc:

Description

  1. Paste in below code in replacebycode sample
    var editor = CKEDITOR.replace( 'editor1', {
    
    } );
    			
    editor.on( 'pluginsLoaded', function( evt ) {
    		editor.on( 'contentDom', function( e ) {
    			var editable = editor.editable();		
    			var doc = editor.document;
    			editable.attachListener( doc, 'keydown', function( event ){		
    				console.log(event);
    			});
    		});
    	});				
    
  2. Run sample and Press Enter
  3. keydown listener doesn't catch it.

Problem can be reproduced in all browsers from CKEditor 4 beta

Change History (1)

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed
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