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
- 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); }); }); });
- Run sample and Press Enter
- keydown listener doesn't catch it.
Problem can be reproduced in all browsers from CKEditor 4 beta