View Full Version : CKEditor problem - onkeypress

Nov 27th, 2009, 11:58 AM
Hello, I have problem with event listening in CKEditor.
I searched these forums for answer, but I didnt found it.
I need someting like "onkeypress" on textarea for CKEditor.
If I think well, I can must use "DOM" of CKEditor, because it is not simple textarea - but I am lost here.
I really dont know how to do it. I need simple draft saver - onkeypress will launch a function which will
check if timer is on. If yes, return false. If no, use ajax to save content of textarea.
I will be glad for every help - I really need it.
Thank you, Chábek.