I am new to Javascript and CKEditor...I am looking for an example on how to capture the onKeydown event inside the CKeditor...a simple example displaying an alert box would be great! Basically, I would like to display a drop-down box as the user types in the editor.
Thanks in advance
Thanks in advance
Re: OnkeyEvent (onkeydown) for CKEditor
This is a way to capture onKeyEvent in IE:
editor.document.$.attachEvent('onkeydown', handleKeyDown);
function handleKeyDown(event)
{
alert('onKeyDown event captured!');
}
Cheers,
Kristin
Re: OnkeyEvent (onkeydown) for CKEditor