Ngày đăng: 13/03/2018

Get a key event type ?


Hi,

How can I get the type of a key event (keypress, keyup etc...).
In a normal Javascript code I use addEventListener or attachEvent, 
but how does it work with the API.
Can someone gives me a piece of code ?

Please help.

I didn't find the right solution from the Internet.

References:-
https://ckeditor.com/old/forums/CKEditor-3.x/Get-key-event-type
Custom animation agency

Thanks