In the editor is there a way to cancel key presses? I've tried a couple of things (onkeyup return false etc). But the key pressed still gets into the text?
You may try with onkeydown event because it is fired before the character is placed in the editor. I have implemented one sample project on the required functionality, please have a try and in case of some questions do not hesitate to ask.