1
votes

I'm using CKEditor as a Rich Text editor field in my .NET application.

The problem is my client don't want users to format text with keyboard shortcuts, users could only format with menu buttons in the Rich Text editor.

Do you know how to disable keyboard formatting with CKEditor and with WYSIWYG in general?

1

1 Answers

1
votes

Supposing that you use latest CKEditor, you got to purge keystrokeHandler:

CKEDITOR.on( 'instanceReady', function( evt ) {
    evt.editor.keystrokeHandler.keystrokes = [];
} );

See: config.keystrokes and editor.setKeystroke.