jquery - ckeditor turn off enter key -


I am trying to use ckeditor to edit single lines so that I do not want the user to enter the login key To use. Does anyone know how to stop access keys by using?

I tried $ ("# text"). Keypress (function) {alert (event.keyCode);}); But thanks for any help it did not register.

CK Editor 4 contains a property on the config object.

Examples that enter the block and make changes:

  CKEDITOR.inline ('someEditorElementId', {blocked keystroke: [13, CKEDITOR.SHIFT + 13] });  

Comments